From 98075d03fa7db2af995c221f1b1e50c224ca9c56 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 22 Feb 2014 03:33:02 -0800 Subject: clean-stream.py: Use more conventional syntax --- scripts/clean-stream.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/clean-stream.py b/scripts/clean-stream.py index 0982f455..a0b23b23 100644 --- a/scripts/clean-stream.py +++ b/scripts/clean-stream.py @@ -58,7 +58,10 @@ while (line != ''): counter1 += 1 if (reg6.match(line)): - indexed = ( False if reg7.search(line) else True) + if reg7.search(line) : + indexed = False + else: + indexed = True if (reg0.match(line)): if (start_index == 0) : -- cgit v1.2.3