Merge lp:~osomon/software-center/notimplemented into lp:software-center

Proposed by Olivier Tilloy
Status: Merged
Merged at revision: not available
Proposed branch: lp:~osomon/software-center/notimplemented
Merge into: lp:software-center
Diff against target: 12 lines (+1/-1)
1 file modified
softwarecenter/view/softwarepane.py (+1/-1)
To merge this branch: bzr merge lp:~osomon/software-center/notimplemented
Reviewer Review Type Date Requested Status
Michael Vogt Approve
Review via email: mp+24258@code.launchpad.net

Description of the change

This tiny patch replaces a generic Exception (raised in a deprecated way) with a more adequate NotImplementedError.

To post a comment you must log in.
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'softwarecenter/view/softwarepane.py'
2--- softwarecenter/view/softwarepane.py 2010-04-27 14:29:47 +0000
3+++ softwarecenter/view/softwarepane.py 2010-04-27 20:32:20 +0000
4@@ -185,7 +185,7 @@
5
6 def get_status_text(self):
7 """return user readable status text suitable for a status bar"""
8- raise Exception, "Not implemented"
9+ raise NotImplementedError
10
11 @wait_for_apt_cache_ready
12 def refresh_apps(self):