changeset 1850:3a10ecc90534

do not use unsupported .format method in error msg for old python versions
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 03 Nov 2012 00:07:08 +0100
parents 38248c86654f
children 2af1b7d032bb
files MoinMoin/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/__init__.py	Fri Nov 02 23:59:17 2012 +0100
+++ b/MoinMoin/__init__.py	Sat Nov 03 00:07:08 2012 +0100
@@ -13,7 +13,7 @@
 
 import sys
 if sys.hexversion < 0x2060000:
-    sys.exit("{0} requires Python 2.6 or greater.\n".format(project))
+    sys.exit("%s requires Python 2.6 or greater.\n" % project)
 
 
 from MoinMoin.util.version import Version