gtg-user team mailing list archive
-
gtg-user team
-
Mailing list archive
-
Message #00399
[Merge] lp:~gtg-user/gtg/urgency-coding-api into lp:~gtg-user/gtg/urgency-color-api
Wolter Hellmund has proposed merging lp:~gtg-user/gtg/urgency-coding-api into lp:~gtg-user/gtg/urgency-color-api.
Requested reviews:
Gtg users (gtg-user)
For more details, see:
https://code.launchpad.net/~gtg-user/gtg/urgency-coding-api/+merge/93751
Accidentally pushed a revision to the urgency-coding-api branch, when it was previously moved to urgency-color-api, thus recreating it. This merge's purpose is to have both branches with the same revision to be able to subsequently delete the urgency-coding-api, which is merely the old name of the urgency-color-api branch.
--
https://code.launchpad.net/~gtg-user/gtg/urgency-coding-api/+merge/93751
Your team Gtg users is requested to review the proposed merge of lp:~gtg-user/gtg/urgency-coding-api into lp:~gtg-user/gtg/urgency-color-api.
=== modified file 'GTG/plugins/urgency_color/urgency_color.py'
--- GTG/plugins/urgency_color/urgency_color.py 2012-02-03 08:21:03 +0000
+++ GTG/plugins/urgency_color/urgency_color.py 2012-02-19 22:51:19 +0000
@@ -64,7 +64,8 @@
if daysleft == None \
and ddate.__class__.__name__ != 'RealDate':
- daysleft = (ddate.offset - date.today()).days
+ #daysleft = (ddate.offset - date.today()).days
+ daysleft = (ddate.days_left() - date.today()).days
color = 0
if daysleft <= dayspan:
color = 1
Follow ups