From: Michael W. Hudson Date: Sun, 2 Jun 2002 16:12:06 +0000 (+0000) Subject: Make test_mhlib run again. X-Git-Tag: v2.3c1~5514 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ccccc08c2913b04fe9563b283dd1339d079a9bd;p=thirdparty%2FPython%2Fcpython.git 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! --- diff --git a/Lib/mhlib.py b/Lib/mhlib.py index feb554efa189..e5900acff9ce 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 = []