diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-28 22:01:09 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-28 22:01:09 (GMT) |
commit | a9a5632549679febd5d2db20616063c470267c5b (patch) | |
tree | 9ced6d4abce06e6f9a50e1cb2254018a85c9259b /devbot/system.py | |
parent | 05092022c801c630ba409fd1db17f55140886e69 (diff) |
Don't print message if there are not packages to install
Diffstat (limited to 'devbot/system.py')
-rw-r--r-- | devbot/system.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devbot/system.py b/devbot/system.py index 0b9afd1..999a59d 100644 --- a/devbot/system.py +++ b/devbot/system.py @@ -106,8 +106,9 @@ def run_checks(package_manager, checks, packages): print "Failed checks\n" _print_checks(failed_checks) - print "\nYou might try to install the following packages\n" - print " ".join(to_install) + if to_install: + print "\nYou might try to install the following packages\n" + print " ".join(to_install) return False |