diff options
author | Guido van Rossum <guido@python.org> | 1998-03-26 20:56:10 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-03-26 20:56:10 (GMT) |
commit | 8ca842066c947179892d50bf17b57943e7e5cd6b (patch) | |
tree | 36f095712bb110abdb9d129e8a59a09e4ce8d087 /Lib/multifile.py | |
parent | fa6e254b34b7a0f85cb34a9fd99b5a6400714940 (diff) | |
download | cpython-8ca842066c947179892d50bf17b57943e7e5cd6b.zip cpython-8ca842066c947179892d50bf17b57943e7e5cd6b.tar.gz cpython-8ca842066c947179892d50bf17b57943e7e5cd6b.tar.bz2 |
A few lines were indented using spaces instead of tabs -- fix them.
Diffstat (limited to 'Lib/multifile.py')
-rw-r--r-- | Lib/multifile.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Lib/multifile.py b/Lib/multifile.py index 247b010..8ba88e4 100644 --- a/Lib/multifile.py +++ b/Lib/multifile.py @@ -45,15 +45,15 @@ class MultiFile: return self.fp.tell() - self.start # def seek(self, pos, whence=0): - here = self.tell() - if whence: - if whence == 1: - pos = pos + here - elif whence == 2: - if self.level > 0: - pos = pos + self.lastpos - else: - raise Error, "can't use whence=2 yet" + here = self.tell() + if whence: + if whence == 1: + pos = pos + here + elif whence == 2: + if self.level > 0: + pos = pos + self.lastpos + else: + raise Error, "can't use whence=2 yet" if not 0 <= pos <= here or \ self.level > 0 and pos > self.lastpos: raise Error, 'bad MultiFile.seek() call' |