E5XML/XMLEntityResolver.py

changeset 412
569efd7f2716
parent 96
9624a110667d
diff -r 99409cddaaa9 -r 569efd7f2716 E5XML/XMLEntityResolver.py
--- a/E5XML/XMLEntityResolver.py	Tue Jul 27 09:10:10 2010 +0200
+++ b/E5XML/XMLEntityResolver.py	Tue Jul 27 09:26:24 2010 +0200
@@ -39,7 +39,7 @@
             if not os.path.exists(sId):
                 ind = sId.rfind('-')
                 if ind != -1:
-                    sId = "%s.dtd" % sId[:ind]
+                    sId = "{0}.dtd".format(sId[:ind])
                 if not os.path.exists(sId):
                     sId = ""
         

eric ide

mercurial