Mercurial > cpython-lru_cache-weakref
diff Mac/scripts/BuildApplication.py @ 15571:027ee9a870d2 legacy-trunk
Oops, interaction() returned a single value in stead of a tuple (I thought that bug was loooong fixed??!?).
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Thu, 14 Dec 2000 23:34:15 +0000 |
| parents | cb29d4a2c17b |
| children | 42b2f1936254 |
line wrap: on
line diff
--- a/Mac/scripts/BuildApplication.py Thu Dec 14 22:29:58 2000 +0000 +++ b/Mac/scripts/BuildApplication.py Thu Dec 14 23:34:15 2000 +0000 @@ -112,11 +112,10 @@ 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, "", "", "")
