Fix string substitution

This commit is contained in:
Marius van den Beek
2016-08-09 23:16:58 +02:00
parent a297a04671
commit fd3c875370
+1 -1
View File
@@ -53,7 +53,7 @@ class CondaDependencyResolver(DependencyResolver, ListableDependencyResolver, In
# warning is related to conda problem discussed in https://github.com/galaxyproject/galaxy/issues/2537, remove when that is resolved
conda_prefix_warning_length = 50
if len(conda_prefix) >= conda_prefix_warning_length:
log.warning('Conda install prefix ({}) is long ({} characters), this can cause problems with package installation, consider setting a shorter prefix (conda_prefix in galaxy.ini)')
log.warning("Conda install prefix '%s' is %d characters long, this can cause problems with package installation, consider setting a shorter prefix (conda_prefix in galaxy.ini)" % (conda_prefix, len(conda_prefix)))
condarc_override = get_option("condarc_override")
if condarc_override is None: