Use pth instead of p when splitting ignored (don't clobber the configparser).
authorW. Trevor King <wking@drexel.edu>
Thu, 16 Feb 2012 11:32:58 +0000 (06:32 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 16 Feb 2012 11:32:58 +0000 (06:32 -0500)
update_copyright/project.py

index b5c2c4c5ea5c2606cf951516e57304a5adfde29c..e9de6cc17fe958a656b307cf11c569d7787150bc 100644 (file)
@@ -129,7 +129,7 @@ class Project (object):
         except _configparser.NoOptionError:
             pass
         else:
         except _configparser.NoOptionError:
             pass
         else:
-            self._ignored_paths = [p.strip() for p in ignored.split(',')]
+            self._ignored_paths = [pth.strip() for pth in ignored.split(',')]
         try:
             self._pyfile = p.get('files', 'pyfile')
         except _configparser.NoOptionError:
         try:
             self._pyfile = p.get('files', 'pyfile')
         except _configparser.NoOptionError: