Virgil Dupras wrote: > On 2/19/08, Virgil Dupras <hsoft at hardcoded.net> wrote: >> closed_status = db.status.lookup('chatting') > > Oops, replace 'chatting' with 'closed' Ok, I ran the script. It said Low activity tickets (180 days) broken down per resolution status: - no selection - 547 wont fix 423 works for me 194 accepted 1233 fixed 2257 duplicate 176 later 49 invalid 275 postponed 20 out of date 304 remind 5 rejected 448 Attached is the updated script. Notice that a day has more than 3600 seconds. With if date2.differenceDate(date1).as_seconds() >= ACTIVITY_DAY_THRESHOLD * 24 * 3600 it gives - no selection - 118 wont fix 189 works for me 62 accepted 310 fixed 611 duplicate 75 later 17 invalid 73 postponed 6 out of date 193 remind 1 rejected 180 Regards, Martin -------------- next part -------------- A non-text attachment was scrubbed... Name: count.py Type: text/x-python Size: 1451 bytes Desc: not available Url : http://mail.python.org/pipermail/python-dev/attachments/20080221/c944f987/attachment.py
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4