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:
23b380a
)
Add a normpath() to files returned by list_files (less suprising this way).
author
W. Trevor King
<wking@drexel.edu>
Thu, 16 Feb 2012 12:02:17 +0000
(07:02 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 16 Feb 2012 12:02:17 +0000
(07:02 -0500)
update_copyright/utils.py
patch
|
blob
|
history
diff --git
a/update_copyright/utils.py
b/update_copyright/utils.py
index 7cceb222f39eba297c1ee288207a744345548fba..41da98f3409809814b131d6f07072dfe68219345 100644
(file)
--- a/
update_copyright/utils.py
+++ b/
update_copyright/utils.py
@@
-221,4
+221,4
@@
def set_contents(filename, contents, original_contents=None, dry_run=False):
def list_files(root='.'):
for dirpath,dirnames,filenames in _os.walk(root):
for filename in filenames:
- yield _os_path.
join(root, dirpath, filename
)
+ yield _os_path.
normpath(_os_path.join(root, dirpath, filename)
)