Merge pull request #931 from smharper/filter_id_warn

Remove false warnings when one tally filter is used in multiple tallies
This commit is contained in:
Paul Romano 2017-11-10 06:45:33 -06:00 committed by GitHub
commit 75c7d41022
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3516,7 +3516,7 @@ class Tallies(cv.CheckedList):
if f not in already_written:
root_element.append(f.to_xml_element())
already_written[f] = f.id
else:
elif f.id != already_written[f]:
# Set the IDs of identical filters with different
# user-defined IDs to the same value
f.id = already_written[f]