diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-09-06 20:43:28 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-09-06 20:43:28 (GMT) |
commit | 3a70e3f9ef5c114185e9ff1c0c8e7d22c282f946 (patch) | |
tree | 857f187b612db1244dde52ed9066998d59f5528c /Mac/Lib | |
parent | 82a9b60b86e2994904fcd85a36e43552ad99c5fd (diff) | |
download | cpython-3a70e3f9ef5c114185e9ff1c0c8e7d22c282f946.zip cpython-3a70e3f9ef5c114185e9ff1c0c8e7d22c282f946.tar.gz cpython-3a70e3f9ef5c114185e9ff1c0c8e7d22c282f946.tar.bz2 |
Get rid of non-ascii characters.
Diffstat (limited to 'Mac/Lib')
-rw-r--r-- | Mac/Lib/cfmfile.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Lib/cfmfile.py b/Mac/Lib/cfmfile.py index 9efc409..63d7233 100644 --- a/Mac/Lib/cfmfile.py +++ b/Mac/Lib/cfmfile.py @@ -1,6 +1,6 @@ """codefragments.py -- wrapper to modify code fragments.""" -# © 1998, Just van Rossum, Letterror +# (c) 1998, Just van Rossum, Letterror __version__ = "0.8b3" __author__ = "jvr" @@ -70,7 +70,7 @@ class CfrgResource: try: data = Res.Get1Resource('cfrg', 0).data except Res.Error: - raise Res.Error, "no •cfrgŐ resource found", sys.exc_traceback + raise Res.Error, "no 'cfrg' resource found", sys.exc_traceback finally: Res.CloseResFile(resref) Res.UseResFile(currentresref) @@ -146,7 +146,7 @@ class FragmentDescriptor: def getfragment(self): if self.where <> 1: - raise error, "canŐt read fragment, unsupported location" + raise error, "can't read fragment, unsupported location" f = open(self.path, "rb") f.seek(self.offset) if self.length: @@ -158,7 +158,7 @@ class FragmentDescriptor: def copydata(self, outfile): if self.where <> 1: - raise error, "canŐt read fragment, unsupported location" + raise error, "can't read fragment, unsupported location" infile = open(self.path, "rb") if self.length == 0: infile.seek(0, 2) |