E5XML/TasksWriter.py

changeset 2992
dbdf27746da5
parent 2302
f29e9405c851
child 3022
57179e4cdadd
child 3057
10516539f238
--- a/E5XML/TasksWriter.py	Sun Oct 06 19:52:33 2013 +0200
+++ b/E5XML/TasksWriter.py	Mon Oct 07 19:10:11 2013 +0200
@@ -46,13 +46,15 @@
         
         # add some generation comments
         if self.forProject:
-            self.writeComment(" eric5 tasks file for project {0} ".format(self.name))
+            self.writeComment(
+                " eric5 tasks file for project {0} ".format(self.name))
             if Preferences.getProject("XMLTimestamp"):
                 self.writeComment(" Saved: {0} ".format(
                     time.strftime('%Y-%m-%d, %H:%M:%S')))
         else:
             self.writeComment(" eric5 tasks file ")
-            self.writeComment(" Saved: {0} ".format(time.strftime('%Y-%m-%d, %H:%M:%S')))
+            self.writeComment(
+                " Saved: {0} ".format(time.strftime('%Y-%m-%d, %H:%M:%S')))
         
         # add the main tag
         self.writeStartElement("Tasks")
@@ -75,8 +77,8 @@
             self.writeAttribute("type", str(task.taskType))
             self.writeTextElement("Summary", task.summary.strip())
             self.writeTextElement("Description", task.description.strip())
-            self.writeTextElement("Created",
-                time.strftime("%Y-%m-%d, %H:%M:%S", time.localtime(task.created)))
+            self.writeTextElement("Created", time.strftime(
+                "%Y-%m-%d, %H:%M:%S", time.localtime(task.created)))
             if task.filename:
                 self.writeStartElement("Resource")
                 self.writeTextElement("Filename",

eric ide

mercurial