diff options
-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 |