diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2018-06-08 17:25:34 +0200 |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2018-06-08 17:25:34 +0200 |
commit | 79491bc6433f4ac69751ecd267d71de443fae830 (patch) | |
tree | 5ae1a347526a8df51180f5b0e523ccf9bd3428d6 | |
parent | write commitscript also without bug number (diff) | |
download | tatt-79491bc6433f4ac69751ecd267d71de443fae830.tar.gz tatt-79491bc6433f4ac69751ecd267d71de443fae830.tar.bz2 tatt-79491bc6433f4ac69751ecd267d71de443fae830.zip |
ignore empty lines in package list
-rw-r--r-- | tatt/packageFinder.py | 2 |
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)) |