From: Sjoerd Mullender Date: Mon, 14 Aug 1995 07:49:51 +0000 (+0000) Subject: Temporary fix for access statement. X-Git-Tag: v1.3b1~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f33a69f2739a2ad7968c0cada7577cbe130602b4;p=thirdparty%2FPython%2Fcpython.git Temporary fix for access statement. Definition of Error was missing. --- diff --git a/Lib/sunau.py b/Lib/sunau.py index 677b298998b1..66fec9430217 100644 --- a/Lib/sunau.py +++ b/Lib/sunau.py @@ -128,6 +128,8 @@ _simple_encodings = [AUDIO_FILE_ENCODING_MULAW_8, AUDIO_FILE_ENCODING_LINEAR_32, AUDIO_FILE_ENCODING_ALAW_8] +Error = 'sunau.Error' + def _read_u32(file): x = 0L for i in range(4): @@ -408,7 +410,7 @@ class Au_write: # # private methods # - access *: private + if 0: access *: private def _ensure_header_written(self): if not self._nframeswritten: