1. Thomas Waldmann
  2. moin-2.0

Commits

Thomas Waldmann  committed 3a10ecc

do not use unsupported .format method in error msg for old python versions

  • Participants
  • Parent commits 38248c8
  • Branches default

Comments (0)

Files changed (1)

File MoinMoin/__init__.py

View file
  • Ignore whitespace
 
 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