Fix for TypeError for implicit conversion

`package_import` is a list, and on Python 3.4 it must be implicitly converted to a string before concatenation.
This commit is contained in:
Colton J. Provias 2015-05-07 18:30:16 -04:00
parent 5c6f05dd3e
commit 505ee3b939

View File

@ -107,7 +107,7 @@ def get_locally_installed_packages():
break
if package_import_name == "":
logging.debug(
'Could not determine import name for package ' + package_import)
'Could not determine import name for package ' + str(package_import))
else:
packages[package_import_name] = {
'version': package[1].replace(".dist", ""),