Merge lp:~jlangeveld/gtimelog/single_activity into lp:~gtimelog-dev/gtimelog/trunk

Proposed by Jeroen Langeveld
Status: Merged
Approved by: Barry Warsaw
Approved revision: 190
Merge reported by: Barry Warsaw
Merged at revision: not available
Proposed branch: lp:~jlangeveld/gtimelog/single_activity
Merge into: lp:~gtimelog-dev/gtimelog/trunk
Diff against target: 28 lines (+5/-1)
2 files modified
NEWS.txt (+4/-0)
src/gtimelog/main.py (+1/-1)
To merge this branch: bzr merge lp:~jlangeveld/gtimelog/single_activity
Reviewer Review Type Date Requested Status
Barry Warsaw Approve
Review via email: mp+60144@code.launchpad.net

Description of the change

from NEWS.txt:

* Reporting no longer fails when only one activity was logged. (LP: #778285)

  Contributed by Jeroen Langeveld (https://launchpad.net/~jlangeveld)

To post a comment you must log in.
Revision history for this message
Barry Warsaw (barry) wrote :

Hah! I fixed this independently in exactly the same way you did. I'm giving you credit in the NEWS file since you obviously found it first. Thanks for the contribution!

Revision history for this message
Barry Warsaw (barry) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'NEWS.txt'
2--- NEWS.txt 2011-02-10 18:58:45 +0000
3+++ NEWS.txt 2011-05-06 05:41:14 +0000
4@@ -15,6 +15,10 @@
5
6 Contributed by Vladislav Naumov (https://launchpad.net/~vnaum).
7
8+* Reporting no longer fails when only one activity was logged. (LP: #778285)
9+
10+ Contributed by Jeroen Langeveld (https://launchpad.net/~jlangeveld)
11+
12
13 Changes in version 0.5.0 (released 2011-01-28)
14 ==============================================
15
16=== modified file 'src/gtimelog/main.py'
17--- src/gtimelog/main.py 2011-03-02 16:43:01 +0000
18+++ src/gtimelog/main.py 2011-05-06 05:41:14 +0000
19@@ -730,8 +730,8 @@
20 print >> output
21 work, slack = window.grouped_entries()
22 total_work, total_slacking = window.totals()
23+ categories = {}
24 if work:
25- categories = {}
26 for start, entry, duration in work:
27 entry = entry[:1].upper() + entry[1:]
28 print >> output, u"%-62s %s" % (entry,

Subscribers

People subscribed via source and target branches