projects
/
update-copyright.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7ef139
)
Add comma-delimiter to list of ignored file globs in Project.load_config().
author
W. Trevor King
<wking@drexel.edu>
Thu, 16 Feb 2012 11:28:54 +0000
(06:28 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 16 Feb 2012 11:28:54 +0000
(06:28 -0500)
update_copyright/project.py
patch
|
blob
|
history
diff --git
a/update_copyright/project.py
b/update_copyright/project.py
index faf5989b053a477ee26042719ecf89a018a41a6c..de8fbed9a15ace85e302f06343d6c4065838e128 100644
(file)
--- a/
update_copyright/project.py
+++ b/
update_copyright/project.py
@@
-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: