mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Change python print() format to be backward compatible with older versions
In python versions prior to 3.1, the print("{}", .format(x)) form throws
an error, use the more compatible print("{0}", .format(x)) form
instead.
This commit is contained in:
@@ -46,7 +46,7 @@ def install_compat():
|
||||
compat_plat = compatible_platforms.get(this_plat, None)
|
||||
rval = {}
|
||||
if compat_plat:
|
||||
print('{} is binary compatible with {} (and can install {} wheels)'
|
||||
print('{0} is binary compatible with {1} (and can install {2} wheels)'
|
||||
.format(this_plat, compat_plat, compat_plat),
|
||||
file=sys.stderr)
|
||||
for py, abi, plat in get_supported():
|
||||
|
||||
Reference in New Issue
Block a user