Tasks/TaskPropertiesDialog.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1112
8a7d1b9d18db
diff -r 1b59c4ba121e -r 8cd4d08fa9f6 Tasks/TaskPropertiesDialog.py
--- a/Tasks/TaskPropertiesDialog.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/Tasks/TaskPropertiesDialog.py	Fri Mar 11 16:51:57 2011 +0100
@@ -21,7 +21,7 @@
     """
     Class implementing the task properties dialog.
     """
-    def __init__(self, task = None, parent = None, projectOpen = False):
+    def __init__(self, task=None, parent=None, projectOpen=False):
         """
         Constructor
         
@@ -39,7 +39,7 @@
         if task is not None:
             self.descriptionEdit.setText(task.description)
             self.longtextEdit.setText(task.longtext)
-            self.creationLabel.setText(time.strftime("%Y-%m-%d, %H:%M:%S", 
+            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)
@@ -66,5 +66,5 @@
                 project flag and long text (string, string, boolean, boolean, string)
         """
         return (self.descriptionEdit.text(), self.priorityCombo.currentIndex(),
-                self.completedCheckBox.isChecked(), self.projectCheckBox.isChecked(), 
-                self.longtextEdit.toPlainText())
\ No newline at end of file
+                self.completedCheckBox.isChecked(), self.projectCheckBox.isChecked(),
+                self.longtextEdit.toPlainText())

eric ide

mercurial