mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-24 08:45:13 +00:00
Merge pull request #1348 from LocutusOfBorg/reproducible-build-stable
Use an OrderedDict for helptext, making the build reproducible
This commit is contained in:
commit
bc56cefde7
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@
|
|||
import sys
|
||||
import textwrap
|
||||
import traceback
|
||||
import collections
|
||||
|
||||
from . import __version__
|
||||
from .helpers import Error, location_validator, archivename_validator, format_line, format_time, format_file_size, \
|
||||
|
@ -736,7 +737,7 @@ def do_break_lock(self, args, repository):
|
|||
Cache.break_lock(repository)
|
||||
return self.exit_code
|
||||
|
||||
helptext = {}
|
||||
helptext = collections.OrderedDict()
|
||||
helptext['patterns'] = textwrap.dedent('''
|
||||
Exclusion patterns support four separate styles, fnmatch, shell, regular
|
||||
expressions and path prefixes. By default, fnmatch is used. If followed
|
||||
|
|
Loading…
Reference in a new issue