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:
7e6fc6c
)
Log reason for ignoring paths in Project._ignore_file().
author
W. Trevor King
<wking@drexel.edu>
Thu, 16 Feb 2012 11:31:03 +0000
(06:31 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 16 Feb 2012 11:31:03 +0000
(06:31 -0500)
update_copyright/project.py
patch
|
blob
|
history
diff --git
a/update_copyright/project.py
b/update_copyright/project.py
index de8fbed9a15ace85e302f06343d6c4065838e128..b5c2c4c5ea5c2606cf951516e57304a5adfde29c 100644
(file)
--- a/
update_copyright/project.py
+++ b/
update_copyright/project.py
@@
-231,7
+231,10
@@
class Project (object):
if self._ignored_paths is not None:
for path in self._ignored_paths:
if _fnmatch.fnmatch(filename, path):
+ _LOG.debug('ignoring {} (matched {})'.format(
+ filename, path))
return True
if self._vcs and not self._vcs.is_versioned(filename):
+ _LOG.debug('ignoring {} (not versioned))'.format(filename))
return True
return False