Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ccccc0

Browse files
author
Michael W. Hudson
committed
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!
1 parent 9ea6c19 commit 1ccccc0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/mhlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ def __init__(self, data = None, sep = ',', rng = '-'):
788788
self.pairs = []
789789
self.sep = sep
790790
self.rng = rng
791-
if data is not None: self.fromstring(data)
791+
if data: self.fromstring(data)
792792

793793
def reset(self):
794794
self.pairs = []

0 commit comments

Comments
 (0)