summaryrefslogtreecommitdiffstats
path: root/pyload/config
diff options
context:
space:
mode:
authorGravatar root <root@raspberrypi.(none)> 2015-04-03 16:27:52 +0200
committerGravatar root <root@raspberrypi.(none)> 2015-04-03 16:27:52 +0200
commitd55f8011f6853bffa13f903b8c5c8e9365366ec3 (patch)
tree62c0f9dc3a4b4a782f95431c333381e4696763bd /pyload/config
parentMerge branch 'pr/n1156_ItachiSan' into 0.4.10 (diff)
downloadpyload-d55f8011f6853bffa13f903b8c5c8e9365366ec3.tar.xz
some fixes
Diffstat (limited to 'pyload/config')
-rw-r--r--pyload/config/Setup.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyload/config/Setup.py b/pyload/config/Setup.py
index d2bcef9e5..7f5c0b0ed 100644
--- a/pyload/config/Setup.py
+++ b/pyload/config/Setup.py
@@ -457,13 +457,13 @@ class SetupAssistant(object):
def print_dep(self, name, value, false="MISSING", true="OK"):
""" Print Status of dependency """
if value and isinstance(value, basestring):
- msg = "%(dep)-12s %(bool)s (%(info)s)"
+ info = ", ".join(value)
else:
- msg = "%(dep)-12s %(bool)s"
+ info = ""
- print msg % {'dep': name + ':',
+ print "%(dep)-12s %(bool)s (%(info)s)" % {'dep': name + ':',
'bool': _(true if value else false).upper(),
- 'info': ", ".join(value)}
+ 'info': info}
def check_module(self, module):