summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-11-20 15:40:42 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-11-20 15:40:42 (GMT)
commit3d919c4d5bd4b0b7ab2d22d671d67cd254599da1 (patch)
tree8640c358e9d6b10f0d10338fcc574bda4f0567f6 /Mac
parent7081a69b244b84df02dcc4e01c57b40a8d01591a (diff)
downloadcpython-3d919c4d5bd4b0b7ab2d22d671d67cd254599da1.zip
cpython-3d919c4d5bd4b0b7ab2d22d671d67cd254599da1.tar.gz
cpython-3d919c4d5bd4b0b7ab2d22d671d67cd254599da1.tar.bz2
Added reference to pdf documentation and bbpy, correctly explained
difference between aetools.Error and MacOS.Error for appletscript programs.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Demo/scripting/testeudora.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mac/Demo/scripting/testeudora.py b/Mac/Demo/scripting/testeudora.py
index 951e885..0f572cf 100644
--- a/Mac/Demo/scripting/testeudora.py
+++ b/Mac/Demo/scripting/testeudora.py
@@ -32,6 +32,8 @@ def main():
if arg[0] == -609:
print 'Connection invalid, is eudora running?'
else:
- print 'Error, possibly ', arg[1]
+ print 'MacOS Error:', arg[1]
+ except aetools.Error, arg:
+ print 'Eudora returned error:', arg
main()