Fix failure on a fully patched system

This commit is contained in:
Tomas Edwardsson 2013-07-16 22:09:23 +00:00
parent 7ad46b2f68
commit 5af347c3df
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ def pkcon_get_updates():
for line in stdout.split("\n"):
if not line:
continue
if line.startswith("There are no updates"):
continue
if results_section is False and line == "Results:":
results_section = True
elif results_section: