Add comma-delimiter to list of ignored file globs in Project.load_config().
authorW. Trevor King <wking@drexel.edu>
Thu, 16 Feb 2012 11:28:54 +0000 (06:28 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 16 Feb 2012 11:28:54 +0000 (06:28 -0500)
update_copyright/project.py

index faf5989b053a477ee26042719ecf89a018a41a6c..de8fbed9a15ace85e302f06343d6c4065838e128 100644 (file)
@@ -125,9 +125,11 @@ class Project (object):
         except _configparser.NoOptionError:
             pass
         try:
-            self._ignored_paths = p.get('files', 'ignored')
+            ignored = p.get('files', 'ignored')
         except _configparser.NoOptionError:
             pass
+        else:
+            self._ignored_paths = [p.strip() for p in ignored.split(',')]
         try:
             self._pyfile = p.get('files', 'pyfile')
         except _configparser.NoOptionError: