~mdw
/
chopwood
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16e5774
)
agpl.py (filez): Slightly better detection of toplevels.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 28 Mar 2013 00:05:01 +0000
(
00:05
+0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 28 Mar 2013 00:14:09 +0000
(
00:14
+0000)
agpl.py
patch
|
blob
|
blame
|
history
diff --git
a/agpl.py
b/agpl.py
index
b49153b
..
caed713
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