1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 01:06:50 +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:
enkore 2016-07-18 12:56:44 +02:00 committed by GitHub
commit bc56cefde7

View file

@ -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