diff options
author | Fred Drake <fdrake@acm.org> | 2000-08-17 05:06:49 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-08-17 05:06:49 +0000 |
commit | 227b1204681a8bd7077bf1f8e9098b7e2e9f4c13 (patch) | |
tree | 25e36d9096e5ddcde4a12065b5d38d4dd9beed56 /Lib/binhex.py | |
parent | 9b8d801c37fa29420848ebc1b50c601893b36287 (diff) | |
download | cpython-git-227b1204681a8bd7077bf1f8e9098b7e2e9f4c13.tar.gz |
Convert some old-style string exceptions to class exceptions.
Diffstat (limited to 'Lib/binhex.py')
-rw-r--r-- | Lib/binhex.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/binhex.py b/Lib/binhex.py index 275701df6f..08922031e1 100644 --- a/Lib/binhex.py +++ b/Lib/binhex.py @@ -27,7 +27,8 @@ import struct import string import binascii -Error = 'binhex.Error' +class Error(Exception): + pass # States (what have we written) [_DID_HEADER, _DID_DATA, _DID_RSRC] = range(3) |