patch_pyxml.py

changeset 15
f6ccc31d6e72
parent 13
1af94a91f439
child 45
9a18f4dbb493
--- a/patch_pyxml.py	Sat Jan 02 16:15:57 2010 +0000
+++ b/patch_pyxml.py	Sat Jan 02 17:09:08 2010 +0000
@@ -77,7 +77,7 @@
     for line in lines:
         if patchPositionFound and \
             (line.startswith(\
-                "                # patched by eric4 install script.") or \
+                "                # patched by eric5 install script.") or \
              line.startswith(\
                 "                self.datasize = len(self.data)")):
                 return True
@@ -115,10 +115,10 @@
     for line in lines:
         if patchPositionFound:
             if not line.startswith(\
-                    "                # patched by eric4 install script.") and \
+                    "                # patched by eric5 install script.") and \
                not line.startswith(\
                     "                self.datasize = len(self.data)"):
-                s.write("                # patched by eric4 install script.\n")
+                s.write("                # patched by eric5 install script.\n")
                 s.write("                self.datasize = len(self.data)\n")
                 patched = True
             patchPositionFound = False
@@ -188,4 +188,4 @@
     patchPyXML()
     
 if __name__ == "__main__":
-    main()
+    main()
\ No newline at end of file

eric ide

mercurial