aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tatt/packageFinder.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tatt/packageFinder.py b/tatt/packageFinder.py
index c1d7bd0..13c36e5 100644
--- a/tatt/packageFinder.py
+++ b/tatt/packageFinder.py
@@ -10,6 +10,8 @@ def findPackages (s, arch):
packages = []
for line in s.splitlines():
+ if not line:
+ continue
atom, _, arches = line.partition(' ')
if not arches or arch in arches.split(' '):
packages.append(gP(atom))