Skip to content

Commit f953568

Browse files
committed
fixing typo in attribute handling #22
1 parent 5913c22 commit f953568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/sumolib/xml/parsing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ def parse_fast_nested(xmlfile, element_name, attrnames=None, element_name2=None,
618618
@Example: parse_fast_nested('fcd.xml', 'timestep', ['time'], 'vehicle', ['id', 'speed', 'lane']):
619619
@Example: parse_fast_nested('fcd.xml', 'timestep', None, 'vehicle', None):
620620
"""
621-
reprog = reprog2 = None
621+
reprog = reprog2 = record = None
622622
if attrnames is not None:
623623
Record, reprog = _createRecordAndPattern(element_name, attrnames, warn, optional)
624624
if attrnames2 is not None:

0 commit comments

Comments
 (0)