diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-06-25 22:25:50 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-06-25 22:25:50 -0500 |
commit | b710b8721eb12db39ba0413fdaede654999a426a (patch) | |
tree | b50ff1a63bf8dba8f82b27f9c11574bfe3afd6de /prequeue.py | |
parent | ad6e271dec7ac0d23a8e140a6fb7efabe094f5eb (diff) |
don't mix tabs/whitespace
Diffstat (limited to 'prequeue.py')
-rw-r--r-- | prequeue.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/prequeue.py b/prequeue.py index 156d3e942..c90d133ea 100644 --- a/prequeue.py +++ b/prequeue.py @@ -9,9 +9,8 @@ import sys import preprocessor if __name__ == '__main__': - for source in sys.argv[1:]: - dest = os.path.splitext(source)[0] + '.tx' - sys.stdin = open(source, 'r') - sys.stdout = open(dest, 'w') - preprocessor.preprocess() - + for source in sys.argv[1:]: + dest = os.path.splitext(source)[0] + '.tx' + sys.stdin = open(source, 'r') + sys.stdout = open(dest, 'w') + preprocessor.preprocess() |