changeset 184:be33152d7d0c

STUB: makeitso/file2template.py
author Jeff Hammel <k0scist@gmail.com>
date Sun, 23 Mar 2014 18:27:50 -0700
parents 55b34a5a2e5f
children 0fd0cc154153
files makeitso/file2template.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/makeitso/file2template.py	Sun Mar 23 16:31:37 2014 -0700
+++ b/makeitso/file2template.py	Sun Mar 23 18:27:50 2014 -0700
@@ -51,7 +51,7 @@
         self.add_argument('variables', nargs='*',
                             help="variables to use")
         self.add_argument('-o', '--output', dest='output',
-                            type=argparse.FileType('r'), default=sys.stdout,
+                            type=argparse.FileType('w'), default=sys.stdout,
                             help="output file, or stdout if ommitted'")