From: Jack Jansen Date: Thu, 14 Dec 2000 23:34:15 +0000 (+0000) Subject: Oops, interaction() returned a single value in stead of a tuple (I thought that bug... X-Git-Tag: v2.1a1~574 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0d750803dc78ea6fefed17de4fd785e80fb66b5;p=python Oops, interaction() returned a single value in stead of a tuple (I thought that bug was loooong fixed??!?). --- diff --git a/Mac/scripts/BuildApplication.py b/Mac/scripts/BuildApplication.py index bf44ebd6cf..e9884a475e 100644 --- a/Mac/scripts/BuildApplication.py +++ b/Mac/scripts/BuildApplication.py @@ -112,11 +112,10 @@ class radio: def interact(scriptname): if PPC_ONLY: - return 'pwpc' + return 'pwpc', 1 d = Dlg.GetNewDialog(DLG_ID, -1) if not d: - print "Can't get DLOG resource with id =", DLG_ID - return + raise "Can't get DLOG resource with id =", DLG_ID d.SetDialogDefaultItem(OK_BUTTON) d.SetDialogCancelItem(CANCEL_BUTTON) Dlg.ParamText(scriptname, "", "", "")