--- a/src/modules/client/api_errors.py Mon Sep 21 18:30:06 2009 -0700
+++ b/src/modules/client/api_errors.py Mon Sep 21 21:06:43 2009 -0500
@@ -77,7 +77,7 @@
self.state = state
-class ImagePkgStateError(Exception):
+class ImagePkgStateError(ApiException):
def __init__(self, fmri, states):
ApiException.__init__(self)
@@ -86,8 +86,8 @@
def __str__(self):
return _("Invalid package state change attempted '%(states)s' "
- "for package '%(fmri)s'." % { "states": self.states,
- "fmri": self.fmri })
+ "for package '%(fmri)s'.") % { "states": self.states,
+ "fmri": self.fmri }
class IpkgOutOfDateException(ApiException):