Tasks/TaskPropertiesDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2997
7f0ef975da9e
child 3145
a9de05d4a22f
diff -r 9986ec0e559a -r 10516539f238 Tasks/TaskPropertiesDialog.py
--- a/Tasks/TaskPropertiesDialog.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/Tasks/TaskPropertiesDialog.py	Fri Oct 18 23:00:41 2013 +0200
@@ -40,8 +40,9 @@
         if task is not None:
             self.summaryEdit.setText(task.summary)
             self.descriptionEdit.setText(task.description)
-            self.creationLabel.setText(time.strftime("%Y-%m-%d, %H:%M:%S",
-                                                     time.localtime(task.created)))
+            self.creationLabel.setText(
+                time.strftime("%Y-%m-%d, %H:%M:%S",
+                              time.localtime(task.created)))
             self.priorityCombo.setCurrentIndex(task.priority)
             self.projectCheckBox.setChecked(task._isProjectTask)
             self.completedCheckBox.setChecked(task.completed)
@@ -65,8 +66,11 @@
         Public method to retrieve the dialogs data.
         
         @return tuple of description, priority, completion flag,
-                project flag and long text (string, string, boolean, boolean, string)
+                project flag and long text (string, string, boolean,
+                boolean, string)
         """
-        return (self.summaryEdit.text(), self.priorityCombo.currentIndex(),
-                self.completedCheckBox.isChecked(), self.projectCheckBox.isChecked(),
+        return (self.summaryEdit.text(),
+                self.priorityCombo.currentIndex(),
+                self.completedCheckBox.isChecked(),
+                self.projectCheckBox.isChecked(),
                 self.descriptionEdit.toPlainText())

eric ide

mercurial