From fe193e4a14a7c06218ebf02b5cb6bec3d196ac12 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 16 Feb 2012 06:32:58 -0500 Subject: [PATCH] Use pth instead of p when splitting ignored (don't clobber the configparser). --- update_copyright/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.26.2