aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-02-22 03:33:02 -0800
committerThomas White <taw@physics.org>2014-02-22 03:33:02 -0800
commit98075d03fa7db2af995c221f1b1e50c224ca9c56 (patch)
treeb4cbd5ffb6e08257c3338cc7bf7807617ae573a3 /scripts
parent75fe0fea66536a25f70e89d730ee62d3580a62ac (diff)
clean-stream.py: Use more conventional syntax
Diffstat (limited to 'scripts')
-rw-r--r--scripts/clean-stream.py5
1 files changed, 4 insertions, 1 deletions
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) :