mirror of https://github.com/borgbackup/borg.git
Use an OrderedDict for helptext, making the build reproducible
Closes #1346
This commit is contained in:
parent
95ce40b1a4
commit
69f8d3c3f7
|
@ -14,6 +14,7 @@ import stat
|
|||
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 @@ class Archiver:
|
|||
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 New Issue