Modify ↓
#1881 closed defect (fixed)
Variable is set but never used.
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | lowest | Milestone: | 0.9 |
Component: | general | Version: | devel |
Severity: | trivial | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
As they say in C#: WARNING: Variable t is declared (set) but never used.
diff -r 392fa18690df trunk/trac/Notify.py --- a/trunk/trac/Notify.py Fri Aug 5 13:29:05 2005 +++ b/trunk/trac/Notify.py Fri Aug 5 09:29:46 2005 @@ -220,7 +220,6 @@ def format_props(self): tkt = self.ticket fields = [f for f in tkt.fields if f['type'] != 'textarea'] - t = self.modtime or tkt.time_changed width = [0,0,0,0] for i, f in enum([f['name'] for f in fields]): if not f in tkt.values.keys():
Attachments (0)
Change History (2)
comment:1 by , 19 years ago
Milestone: | → 0.9 |
---|---|
Owner: | changed from | to
Priority: | normal → lowest |
Severity: | normal → trivial |
Status: | new → assigned |
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Line removed in [2390].