]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - plugins/rst
doc/ikiwikiusers: add "Piny" as host
[git.ikiwiki.info.git] / plugins / rst
index 779a87fa39b343cd41e9e64936d6ee76e42e8114..ba0f543f9244a04a10bc8b35b926cc0f30743e19 100755 (executable)
@@ -56,7 +56,7 @@ def rst2html(proxy, *args):
         try:
             from docutils.core import publish_parts
         except ImportError as e:
-            proxy.error('cannot import docutils.core: {}: {}'.format(
+            proxy.error('cannot import docutils.core: {0}: {1}'.format(
                     e.__class__.__name__, e))
             raise
 
@@ -77,7 +77,7 @@ def getsetup(proxy, *kwargs):
     return 'plugin', { 'safe' : 1, 'rebuild' : 1, 'section' : 'format' }
 
 def debug(s):
-    _sys.stderr.write(__name__ + ':DEBUG:{}\n'.format(s))
+    _sys.stderr.write(__name__ + ':DEBUG:{0}\n'.format(s))
     _sys.stderr.flush()
 
 proxy = IkiWikiProcedureProxy(__name__, debug_fn=None)