Bugfix: broken "upgrade_available" and should always return dict.

This commit is contained in:
Bo Maryniuk 2015-10-08 14:14:35 +02:00
parent 2ae7ada3c9
commit f9bef516de

View file

@ -215,9 +215,6 @@ def latest_version(*names, **kwargs):
else:
ret[name] = ''
# Return a string if only one package name passed
if len(names) == 1 and len(ret):
return ret[names[0]]
return ret