Skip to content

Commit

Permalink
Modified csvcut to use sys.stdout.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgroskopf committed Apr 14, 2011
1 parent fbef458 commit d13d22a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csvcut
Expand Up @@ -23,7 +23,7 @@ def main(args):

if args.names_only:
for i, c in enumerate(column_names):
print '%3i: %s' % (i + 1, c)
sys.stdout.write('%3i: %s\n' % (i + 1, c))

sys.exit()

Expand Down

0 comments on commit d13d22a

Please sign in to comment.