]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/prompt.py
Fix bug where php.ini not being rewritten for MediaWiki.
[wizard.git] / wizard / prompt.py
index 80938398b8fe1d8b63a67f242bbcedf2ba2ac6b4..579184539d2ef19718334abacd9b2e0ac941e4b1 100644 (file)
@@ -130,7 +130,7 @@ def dialog_wrap(f, self, text, *args, **kwargs):
     else:
         exit, value = result
     if exit == self.dialog.DIALOG_CANCEL or exit == self.dialog.DIALOG_ESC:
-        raise UserCancl
+        raise UserCancel
     elif exit != self.dialog.DIALOG_OK:
         # XXX: We don't support stuff like DIALOG_EXTRA or DIALOG_HELP
         raise DialogError(exit)
@@ -268,10 +268,7 @@ class DialogError(Error):
     def __str__(self):
         return """
 
-ERROR:  Dialog returned a mysterious exit code %d.  Please
-send mail to scripts@mit.edu with the contents of this error
-message and the preceding backtrace.
-""" % self.exitcode
+ERROR:  Dialog returned a mysterious exit code %d.""" % self.exitcode
 
 class UnsupportedTerminal(Error):
     """It doesn't look like we support this terminal.  Internal error."""