Fixed an issue in the project writer. 5_4_x

Sat, 12 Apr 2014 16:19:56 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 12 Apr 2014 16:19:56 +0200
branch
5_4_x
changeset 3501
22b84d61a608
parent 3494
4ce0194aeb01
child 3502
34b1435b4792

Fixed an issue in the project writer.
(grafted from 60f6631547897143c9b3188b097c6354e9af4507)

E5XML/ProjectWriter.py file | annotate | diff | comparison | revisions
--- a/E5XML/ProjectWriter.py	Fri Apr 11 18:37:22 2014 +0200
+++ b/E5XML/ProjectWriter.py	Sat Apr 12 16:19:56 2014 +0200
@@ -49,10 +49,10 @@
         if Preferences.getProject("XMLTimestamp"):
             self.writeComment(
                 " Saved: {0} ".format(time.strftime('%Y-%m-%d, %H:%M:%S')))
-            self.writeComment(" Copyright (C) {0} {1}, {2} ".format(
-                time.strftime('%Y'),
-                self.pdata["AUTHOR"][0],
-                self.pdata["EMAIL"][0]))
+        self.writeComment(" Copyright (C) {0} {1}, {2} ".format(
+            time.strftime('%Y'),
+            self.pdata["AUTHOR"][0],
+            self.pdata["EMAIL"][0]))
         
         # add the main tag
         self.writeStartElement("Project")

eric ide

mercurial