Tally.add_tally(...) now breaks loop if merges with another Tally

This commit is contained in:
Will Boyd 2015-05-22 23:27:25 -04:00
parent ae2d379dc2
commit 1395bc8b88

View file

@ -854,6 +854,7 @@ class TalliesFile(object):
merged_tally = tally2.merge(tally)
self._tallies[i] = merged_tally
merged = True
break
# If not mergeable tally was found, simply add this tally
if not merged: