Merge lp:~mbp/ubuntu/maverick/hamster-applet/600857-imports into lp:ubuntu/maverick/hamster-applet

Proposed by Martin Pool
Status: Merged
Merge reported by: Chris Halse Rogers
Merged at revision: not available
Proposed branch: lp:~mbp/ubuntu/maverick/hamster-applet/600857-imports
Merge into: lp:ubuntu/maverick/hamster-applet
Diff against target: 117 lines (+19/-12)
8 files modified
debian/changelog (+7/-0)
src/hamster/widgets/activityentry.py (+3/-3)
src/hamster/widgets/dateinput.py (+1/-1)
src/hamster/widgets/dayline.py (+2/-2)
src/hamster/widgets/facttree.py (+2/-2)
src/hamster/widgets/tags.py (+2/-2)
src/hamster/widgets/timechart.py (+1/-1)
src/hamster/widgets/timeinput.py (+1/-1)
To merge this branch: bzr merge lp:~mbp/ubuntu/maverick/hamster-applet/600857-imports
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+29046@code.launchpad.net

Description of the change

Fix "from .hamster import" statements causing massive failure with ImportError, fixes bug 600857 and friends.

To post a comment you must log in.
Revision history for this message
Chris Halse Rogers (raof) wrote :

Thanks for this.

The packaging currently uses a patch system, so I'll fold these changes into a patch and upload that.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2010-05-21 23:05:51 +0000
+++ debian/changelog 2010-07-02 02:05:40 +0000
@@ -1,3 +1,10 @@
1hamster-applet (2.30.1-0ubuntu2) maverick; urgency=low
2
3 * Change strange "from .hamster import" statements occurring inside the
4 hamster python module, causing ImportErrors. (LP: #600857)
5
6 -- Martin Pool <mbp@sourcefrog.net> Fri, 02 Jul 2010 11:48:09 +1000
7
1hamster-applet (2.30.1-0ubuntu1) maverick; urgency=low8hamster-applet (2.30.1-0ubuntu1) maverick; urgency=low
29
3 * New upstream release. (LP: #580522)10 * New upstream release. (LP: #580522)
411
=== modified file 'src/hamster/widgets/activityentry.py'
--- src/hamster/widgets/activityentry.py 2010-04-16 03:50:28 +0000
+++ src/hamster/widgets/activityentry.py 2010-07-02 02:05:40 +0000
@@ -20,10 +20,10 @@
20import gtk, gobject20import gtk, gobject
21import datetime as dt21import datetime as dt
2222
23from .hamster.configuration import runtime23from hamster.configuration import runtime
2424
25from .hamster import stuff25from hamster import stuff
26from .hamster.stuff import format_duration26from hamster.stuff import format_duration
2727
28class ActivityEntry(gtk.Entry):28class ActivityEntry(gtk.Entry):
29 __gsignals__ = {29 __gsignals__ = {
3030
=== modified file 'src/hamster/widgets/dateinput.py'
--- src/hamster/widgets/dateinput.py 2010-02-10 02:52:31 +0000
+++ src/hamster/widgets/dateinput.py 2010-07-02 02:05:40 +0000
@@ -17,7 +17,7 @@
17# You should have received a copy of the GNU General Public License17# You should have received a copy of the GNU General Public License
18# along with Project Hamster. If not, see <http://www.gnu.org/licenses/>.18# along with Project Hamster. If not, see <http://www.gnu.org/licenses/>.
1919
20from .hamster.stuff import format_duration20from hamster.stuff import format_duration
21import gtk21import gtk
22import datetime as dt22import datetime as dt
23import calendar23import calendar
2424
=== modified file 'src/hamster/widgets/dayline.py'
--- src/hamster/widgets/dayline.py 2010-02-10 02:52:31 +0000
+++ src/hamster/widgets/dayline.py 2010-07-02 02:05:40 +0000
@@ -20,8 +20,8 @@
20import gtk20import gtk
21import gobject21import gobject
2222
23from .hamster import stuff23from hamster import stuff
24from .hamster import graphics24from hamster import graphics
2525
26import time26import time
27import datetime as dt27import datetime as dt
2828
=== modified file 'src/hamster/widgets/facttree.py'
--- src/hamster/widgets/facttree.py 2010-05-14 14:28:07 +0000
+++ src/hamster/widgets/facttree.py 2010-07-02 02:05:40 +0000
@@ -20,8 +20,8 @@
20import gtk, gobject20import gtk, gobject
21import datetime as dt21import datetime as dt
2222
23from .hamster import stuff23from hamster import stuff
24from .hamster.stuff import format_duration, format_activity24from hamster.stuff import format_duration, format_activity
25from tags import Tag25from tags import Tag
2626
27import pango27import pango
2828
=== modified file 'src/hamster/widgets/tags.py'
--- src/hamster/widgets/tags.py 2010-02-10 02:52:31 +0000
+++ src/hamster/widgets/tags.py 2010-07-02 02:05:40 +0000
@@ -21,9 +21,9 @@
21import pango, cairo21import pango, cairo
22from math import pi22from math import pi
2323
24from .hamster import graphics24from hamster import graphics
2525
26from .hamster.configuration import runtime26from hamster.configuration import runtime
2727
28class TagsEntry(gtk.Entry):28class TagsEntry(gtk.Entry):
29 __gsignals__ = {29 __gsignals__ = {
3030
=== modified file 'src/hamster/widgets/timechart.py'
--- src/hamster/widgets/timechart.py 2010-02-10 02:52:31 +0000
+++ src/hamster/widgets/timechart.py 2010-07-02 02:05:40 +0000
@@ -20,7 +20,7 @@
20import os # for locale20import os # for locale
21import gtk, pango21import gtk, pango
2222
23from .hamster import graphics23from hamster import graphics
2424
25import time, datetime as dt25import time, datetime as dt
26import calendar26import calendar
2727
=== modified file 'src/hamster/widgets/timeinput.py'
--- src/hamster/widgets/timeinput.py 2010-05-14 14:28:07 +0000
+++ src/hamster/widgets/timeinput.py 2010-07-02 02:05:40 +0000
@@ -17,7 +17,7 @@
17# You should have received a copy of the GNU General Public License17# You should have received a copy of the GNU General Public License
18# along with Project Hamster. If not, see <http://www.gnu.org/licenses/>.18# along with Project Hamster. If not, see <http://www.gnu.org/licenses/>.
1919
20from .hamster.stuff import format_duration20from hamster.stuff import format_duration
21import gtk21import gtk
22import datetime as dt22import datetime as dt
23import calendar23import calendar

Subscribers

People subscribed via source and target branches

to all changes: