--- a/E5XML/ShortcutsWriter.py Sun Oct 06 19:52:33 2013 +0200 +++ b/E5XML/ShortcutsWriter.py Mon Oct 07 19:10:11 2013 +0200 @@ -42,7 +42,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 @@ -99,5 +100,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()