changeset 44:b19cfcba5dfa

Adding an ignore group no longer must match case. IN: -
author John Schneiderman <JohnMS@CodeGNU.com>
date Thu, 21 Aug 2014 17:57:30 -0500
parents 07bcb9eb53f7
children b3209e186415
files src/manager.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/manager.py	Thu Aug 21 17:45:43 2014 -0500
+++ b/src/manager.py	Thu Aug 21 17:57:30 2014 -0500
@@ -295,7 +295,7 @@
 	# Write Ignore File
 	with open(ignoreFile, 'w') as hgIgnore:
 		for group,patterns in ignores.items():
-			if not "All" in ignoreGroup and not group in ignoreGroup:
+			if not 'all' in [ignoreName.lower() for ignoreName in ignoreGroup] and not group.lower() in [ignoreName.lower() for ignoreName in ignoreGroup]:
 				continue
 			hgIgnore.write("#\n#\tIgnore Group: %s\n#" % group)
 			# Reverse the sorting order to put the regular expressions first.