Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/Bio/SeqIO/SeqXmlIO.py b/Bio/SeqIO/SeqXmlIO.py 2index 8fe75ebb728..6758317d05f 100644 3--- a/Bio/SeqIO/SeqXmlIO.py 4+++ b/Bio/SeqIO/SeqXmlIO.py 5@@ -498,11 +498,12 @@ def iterate(self, handle): 6 if not text: 7 break 8 parser.feed(text) 9+ # Closing the parser ensures that all XML data fed into it are processed 10+ parser.close() 11 # We have reached the end of the XML file; 12 # send out the remaining records 13 yield from records 14 records.clear() 15- parser.close() 16 17 18 class SeqXmlWriter(SequenceWriter):