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/binhex.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/binhex.py')
-rw-r--r-- | Lib/binhex.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/binhex.py b/Lib/binhex.py index 4693443..92ff4e4 100644 --- a/Lib/binhex.py +++ b/Lib/binhex.py @@ -89,9 +89,9 @@ else: fp = open(name) data = open(name).read(256) for c in data: - if not c in string.whitespace \ - and (c<' ' or ord(c) > 0177): - break + if not c in string.whitespace \ + and (c<' ' or ord(c) > 0177): + break else: finfo.Type = 'TEXT' fp.seek(0, 2) @@ -214,10 +214,10 @@ class BinHex: self.ofp.write(data) def _writecrc(self): - # XXXX Should this be here?? - # self.crc = binascii.crc_hqx('\0\0', self.crc) - self.ofp.write(struct.pack('>h', self.crc)) - self.crc = 0 + # XXXX Should this be here?? + # self.crc = binascii.crc_hqx('\0\0', self.crc) + self.ofp.write(struct.pack('>h', self.crc)) + self.crc = 0 def write(self, data): if self.state != _DID_HEADER: |