From: W. Trevor King Date: Thu, 16 Feb 2012 11:32:58 +0000 (-0500) Subject: Use pth instead of p when splitting ignored (don't clobber the configparser). X-Git-Tag: v0.2~9 X-Git-Url: http://git.tremily.us/?p=update-copyright.git;a=commitdiff_plain;h=fe193e4a14a7c06218ebf02b5cb6bec3d196ac12 Use pth instead of p when splitting ignored (don't clobber the configparser). --- diff --git a/update_copyright/project.py b/update_copyright/project.py index b5c2c4c..e9de6cc 100644 --- a/update_copyright/project.py +++ b/update_copyright/project.py @@ -129,7 +129,7 @@ class Project (object): 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: