~nimit-svnit/gtg/self-subtask-update

« back to all changes in this revision

Viewing changes to GTG/gtk/browser/modifytags_dialog.py

  • Committer: nimit-svnit
  • Date: 2012-05-12 10:28:02 UTC
  • Revision ID: nimit.svnit@gmail.com-20120512102802-h9wqt8ohylcxyode
updated the on_confirm() in modifytags_dialog.py to remove the call to deprecated get_self_and_all_subtasks()

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
                # FIXME: Python not reinitialize the default value of its
81
81
                # parameter therefore it must be done manually. This function
82
82
                # should be refractored # as far it is marked as depricated
83
 
                for subtask in task.get_self_and_all_subtasks(tasks=[]):
84
 
                    subtask_id = subtask.get_id()
 
83
                for subtask_id in task.children:
85
84
                    if subtask_id not in self.tasks:
86
85
                        self.tasks.append(subtask_id)
87
86