X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/chopwood/blobdiff_plain/16e577475d8953cfb4f2756d0a5d3b399ac4fe6f..fde8f8a7aef47d31546f2a38054db7704c32a47f:/agpl.py diff --git a/agpl.py b/agpl.py index b49153b..caed713 100644 --- 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