E5XML/ShortcutsWriter.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2992
dbdf27746da5
child 3058
0a02c433f52d
--- a/E5XML/ShortcutsWriter.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/E5XML/ShortcutsWriter.py	Fri Oct 18 23:00:41 2013 +0200
@@ -44,7 +44,8 @@
         
         # add some generation comments
         self.writeComment(" Eric5 keyboard shortcuts ")
-        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')))
         self.writeComment(" Author: {0} ".format(self.email))
         
         # add the main tag
@@ -101,5 +102,6 @@
                 self.writeAttribute("category", category)
                 self.writeTextElement("Name", act.objectName())
                 self.writeTextElement("Accel", act.shortcut().toString())
-                self.writeTextElement("AltAccel", act.alternateShortcut().toString())
+                self.writeTextElement(
+                    "AltAccel", act.alternateShortcut().toString())
                 self.writeEndElement()

eric ide

mercurial