Modify ↓
Ticket #1881 (closed defect: fixed)
Opened 7 years ago
Last modified 5 years ago
Variable is set but never used.
| Reported by: | daniel@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | lowest | Milestone: | 0.9 |
| Component: | general | Version: | devel |
| Severity: | trivial | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API 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
Change History
comment:1 Changed 6 years ago by cmlenz
- Milestone set to 0.9
- Owner changed from jonas to cmlenz
- Priority changed from normal to lowest
- Severity changed from normal to trivial
- Status changed from new to assigned
comment:2 Changed 6 years ago by cmlenz
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.



Line removed in [2390].