]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/app/__init__.py
Remove string exception from remaster.
[wizard.git] / wizard / app / __init__.py
index 1c9f4af3a6d5b2d27f154d45ac0ec2e0d7ed0bd4..6a5ee6a05ac00588e33df8af2961cf9e5020dfa6 100644 (file)
@@ -742,6 +742,8 @@ class DeploymentParseError(Error):
     location = None
     def __init__(self, value):
         self.value = value
+    def __str__(self):
+        return "Could not parse '%s' from versions store in '%s'" % (self.value, self.location)
 
 class NoSuchApplication(Error):
     """
@@ -755,6 +757,8 @@ class NoSuchApplication(Error):
     location = None
     def __init__(self, app):
         self.app = app
+    def __str__(self):
+        return "Wizard doesn't know about an application named '%s'." % self.app
 
 class Failure(Error):
     """