diff options
author | Alessio Sergi <al3hex@gmail.com> | 2016-12-18 18:50:50 +0100 |
---|---|---|
committer | Alessio Sergi <al3hex@gmail.com> | 2016-12-18 18:52:47 +0100 |
commit | deaa17a74f3be7fd19cf9e819c7af2e81fe1f8c2 (patch) | |
tree | 13c1e27a2f048c63c8394a43bca6215acfe202a2 /setup.py | |
parent | 781dfeef0cdeb4b059fa5ba826f7efa318c9082e (diff) |
Use str.format() automatic numbering
We don't support Python 2.6 any longer.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,7 @@ class tests(Command): glances_version = get_version() if sys.version_info < (2, 7) or (3, 0) <= sys.version_info < (3, 3): - print('Glances {0} require at least Python 2.7 or 3.3 to run.'.format(glances_version)) + print('Glances {} require at least Python 2.7 or 3.3 to run.'.format(glances_version)) print('Please install Glances 2.6.2 on your system.') sys.exit(1) |