From 063bf41e5cfc587f419883a7ed45c7b51e0d6716 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 5 Apr 2017 13:31:45 +0100 Subject: [PATCH] ownsource: process .gitignore properly Signed-off-by: Ian Jackson --- hippotatlib/ownsource.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hippotatlib/ownsource.py b/hippotatlib/ownsource.py index ac467f0..135abeb 100644 --- a/hippotatlib/ownsource.py +++ b/hippotatlib/ownsource.py @@ -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): -- 2.11.0