]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Temporary fix for access statement.
authorSjoerd Mullender <sjoerd@acm.org>
Mon, 14 Aug 1995 07:49:51 +0000 (07:49 +0000)
committerSjoerd Mullender <sjoerd@acm.org>
Mon, 14 Aug 1995 07:49:51 +0000 (07:49 +0000)
Definition of Error was missing.

Lib/sunau.py

index 677b298998b102d6bf50d9b0f0c1fe5d98d7d9e9..66fec943021738740cb9a74fceecdf985c987b8e 100644 (file)
@@ -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: