chiark / gitweb /
ownsource: process .gitignore properly
[hippotat.git] / hippotatlib / ownsource.py
index ac467f0fa2fb048aefab52a60cd74ca7ea994221..135abebf0972048c39077c2f70360ba8acd2bf16 100644 (file)
@@ -103,10 +103,10 @@ class SourceShipmentPreparer():
       return []
     r = []
     for l in excl:
-      l.strip
+      l = l.strip()
       if l.startswith('#'): next
       if not len(l): next
-      r += l
+      r.append(l)
     return r
 
   def src_likeparent_git(s, src):