chiark
/
gitweb
/
~mdw
/
chopwood
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
agpl.py (filez): Slightly better detection of toplevels.
[chopwood]
/
agpl.py
diff --git
a/agpl.py
b/agpl.py
index b49153b4e8fea57cd91fbfaaac0631fdec5b812c..caed7136ffa050102e7d25c2c8bbee1e6e1422ef 100644
(file)
--- a/
agpl.py
+++ b/
agpl.py
@@
-142,7
+142,7
@@
def filez(cmd):
if z < 0: break
f = buf[i:z]
i = z + 1
- if f == '.': continue
+ if f
.rstrip('/')
== '.': continue
if f.startswith('./'): f = f[2:]
yield f