redefinition of function get_closed_date in task.py
Bug #428145 reported by
Luca Invernizzi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTG |
Fix Released
|
Low
|
Luca Invernizzi |
Bug Description
In latest trunk (revision 299.1.12):
$pyflakes GTG/core/task.py
task.py:225: redefinition of function 'get_closed_date' from line 84
That is because:
task.py, line 84:
def get_closed_
return self.closed_date
was added by bertrand (246.1.10) , while
task.py, line 225:
def get_closed_
if self.closed_date:
return str(self.
else:
return ''"
was added by bertrand (302) and ploum (40.1.21, 117.1.1)
The second one is more conservative, so here's the patch to remove the first one.
Changed in gtg: | |
assignee: | nobody → Luca Invernizzi (invernizzi) |
importance: | Undecided → Low |
milestone: | none → 0.2 |
status: | New → Fix Committed |
Changed in gtg: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.