summaryrefslogtreecommitdiff
path: root/Lib/binhex.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-03-26 20:56:10 +0000
committerGuido van Rossum <guido@python.org>1998-03-26 20:56:10 +0000
commite07745ec291c4fe62405986b12f6230fb9f30591 (patch)
tree3c038fd3e6083f4968a46a7cb99cc295f6111a65 /Lib/binhex.py
parent3e415c72f1b876702c7dbeadb23313fb5763094d (diff)
downloadcpython-e07745ec291c4fe62405986b12f6230fb9f30591.tar.gz
A few lines were indented using spaces instead of tabs -- fix them.
Diffstat (limited to 'Lib/binhex.py')
-rw-r--r--Lib/binhex.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/binhex.py b/Lib/binhex.py
index 4693443307..92ff4e4e6f 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: