changeset 1389:522d2cea9ec8

Fix string formatting in RegistryItem.__repr__
author DasIch <dasdasich@gmail.com>
date Sun, 03 Jun 2012 18:36:13 +0200
parents 805de343f48b
children 3989635de0fb
files MoinMoin/items/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/items/__init__.py	Sun Jun 03 18:32:29 2012 +0200
+++ b/MoinMoin/items/__init__.py	Sun Jun 03 18:36:13 2012 +0200
@@ -111,7 +111,7 @@
             return NotImplemented
 
         def __repr__(self):
-            return '<{0}: {1}, prio {2} [{3!r}]>' % (self.__class__.__name__,
+            return '<{0}: {1}, prio {2} [{3!r}]>'.format(self.__class__.__name__,
                     self.content_type,
                     self.priority,
                     self.factory)