GTG

redefinition of function get_closed_date in task.py

Bug #428145 reported by Luca Invernizzi
6
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_date(self):
        return self.closed_date

was added by bertrand (246.1.10) , while

task.py, line 225:
    def get_closed_date(self):
        if self.closed_date:
            return str(self.closed_date)
        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.

Revision history for this message
Luca Invernizzi (invernizzi) wrote :
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.