Browse Source

comments

master
Ben Savage 7 years ago
parent
commit
d9aec963cf
  1. 2
      stanza

2
stanza

@ -35,7 +35,7 @@ def debug(line):
debug(pformat(args)) debug(pformat(args))
# Set up the file handle, <file> or stdin # Set up the file handle, <file> or stdin -- note that this will close stdin, so anything after 'with' will not get input
with open(cmd.filename,'r') if cmd.filename else sys.stdin as handle: with open(cmd.filename,'r') if cmd.filename else sys.stdin as handle:
# Go over the handle, line by line # Go over the handle, line by line
for line in handle: for line in handle:

Loading…
Cancel
Save