Use cleaned pack name everywhere.
@@ -111,10 +111,10 @@ def main(argv):
success = result[2][0]
if success:
- LOG.info('Successfuly installed pack "%s"' % (pack))
+ LOG.info('Successfuly installed pack "%s"' % (pack_name))
else:
error = result[2][1]
- LOG.error('Failed to install pack "%s": %s' % (pack, error))
+ LOG.error('Failed to install pack "%s": %s' % (pack_name, error))
sys.exit(2)
# 2. Setup pack virtual environment
@@ -122,6 +122,6 @@ def main(argv):
setup_pack_virtualenv(pack_name=pack_name, update=False, logger=LOG,
proxy_config=proxy_config, use_python3=False,
no_download=True)
- LOG.info('Successfuly set up virtualenv for pack "%s"' % (pack))
+ LOG.info('Successfuly set up virtualenv for pack "%s"' % (pack_name))
return 0
