Always skin -old and -new postfixed files from signing

This commit is contained in:
HelloZeroNet 2016-04-06 13:54:48 +02:00
parent d527268cbe
commit 064341e1a8
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ class ContentManager(object):
ignored = True
elif ignore_pattern and re.match(ignore_pattern, file_relative_path):
ignored = True
elif file_name.startswith("."):
elif file_name.startswith(".") or file_name.endswith("-old") or file_name.endswith("-new"):
ignored = True
elif not re.match("^[a-zA-Z0-9_@=\.\+\-/]+$", file_relative_path):
ignored = True