summaryrefslogtreecommitdiffstats
path: root/Lib/mhlib.py
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2002-06-02 16:12:06 (GMT)
committerMichael W. Hudson <mwh@python.net>2002-06-02 16:12:06 (GMT)
commit1ccccc08c2913b04fe9563b283dd1339d079a9bd (patch)
tree0f29f609dbed85c3f3dceecea654440477da5319 /Lib/mhlib.py
parent9ea6c197476ecb6605b8b9039aaf1e297f47bc50 (diff)
downloadcpython-1ccccc08c2913b04fe9563b283dd1339d079a9bd.zip
cpython-1ccccc08c2913b04fe9563b283dd1339d079a9bd.tar.gz
cpython-1ccccc08c2913b04fe9563b283dd1339d079a9bd.tar.bz2
Make test_mhlib run again.
There's some wierdness here, but the test ran before and not after, so I'm just hacking the change out. Someone more motivated than me can work out what's really happening. Raymond: *PLEASE* run the test suite before checking things like this in!
Diffstat (limited to 'Lib/mhlib.py')
-rw-r--r--Lib/mhlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mhlib.py b/Lib/mhlib.py
index feb554e..e5900ac 100644
--- a/Lib/mhlib.py
+++ b/Lib/mhlib.py
@@ -788,7 +788,7 @@ class IntSet:
self.pairs = []
self.sep = sep
self.rng = rng
- if data is not None: self.fromstring(data)
+ if data: self.fromstring(data)
def reset(self):
self.pairs = []