diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-12-14 23:34:15 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-12-14 23:34:15 (GMT) |
commit | f0d750803dc78ea6fefed17de4fd785e80fb66b5 (patch) | |
tree | 8717c550ad454feacd36bb9a2ee2084bb353fc0f /Mac | |
parent | 581fa783627b48f11cc2c4748574f9a895d00848 (diff) | |
download | cpython-f0d750803dc78ea6fefed17de4fd785e80fb66b5.zip cpython-f0d750803dc78ea6fefed17de4fd785e80fb66b5.tar.gz cpython-f0d750803dc78ea6fefed17de4fd785e80fb66b5.tar.bz2 |
Oops, interaction() returned a single value in stead of a tuple (I thought that bug was loooong fixed??!?).
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/scripts/BuildApplication.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Mac/scripts/BuildApplication.py b/Mac/scripts/BuildApplication.py index bf44ebd..e9884a4 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, "", "", "") |