deps: 'none' should only be displayed if no other elements

This commit is contained in:
Stein Magnus Jodal 2013-04-17 09:14:38 +02:00
parent 5d9b04b513
commit a702deedae

View File

@ -119,12 +119,12 @@ def gstreamer_info():
other.append(' Found:')
for element in found_elements:
other.append(' %s' % element)
else:
if not found_elements:
other.append(' none')
other.append(' Not found:')
for element in missing_elements:
other.append(' %s' % element)
else:
if not missing_elements:
other.append(' none')
return {