From 4a2af33288ca43ddd9f17e5d79a7970893818f60 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 24 Dec 2008 22:47:36 +0000 Subject: [PATCH] Minor fix to wadinfo-builder script. --- scripts/wadinfo-builder.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/wadinfo-builder.py b/scripts/wadinfo-builder.py index 97dd279a..c5135844 100755 --- a/scripts/wadinfo-builder.py +++ b/scripts/wadinfo-builder.py @@ -163,12 +163,13 @@ def parse_stream(stream): if section == "texture1" or section == "texture2": section = "textures" - # Possibly comment out assignments. + else: + # Possibly comment out assignments. - match = assignment_re.match(line) + match = assignment_re.match(line) - if match: - line = parse_assignment(section, line, match) + if match: + line = parse_assignment(section, line, match) print line