diff options
author | Dan Pasette <dan@10gen.com> | 2015-02-11 09:38:54 -0500 |
---|---|---|
committer | Dan Pasette <dan@mongodb.com> | 2015-02-11 10:11:58 -0500 |
commit | 7c9e31c723baf044ef35a297c6b40bfeba59174d (patch) | |
tree | 75f13445941d69458d714fd7f7c3f5310d22587f /src/third_party/wiredtiger/dist/log.py | |
parent | b8784ae7e3c4264f1e64ee7d4850142aec5e1268 (diff) | |
download | mongo-7c9e31c723baf044ef35a297c6b40bfeba59174d.tar.gz |
Import wiredtiger-wiredtiger-mongodb-3.0-rc9-3-g1229d30.tar.gz from wiredtiger branch mongodb-3.0
Diffstat (limited to 'src/third_party/wiredtiger/dist/log.py')
-rw-r--r-- | src/third_party/wiredtiger/dist/log.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/dist/log.py b/src/third_party/wiredtiger/dist/log.py index 9091754ba0b..57b8fdc0f23 100644 --- a/src/third_party/wiredtiger/dist/log.py +++ b/src/third_party/wiredtiger/dist/log.py @@ -260,7 +260,7 @@ __wt_logop_%(name)s_print( \t%(arg_init)sWT_RET(__wt_logop_%(name)s_unpack( \t session, pp, end%(arg_addrs)s)); -\tfprintf(out, " \\"optype\\": \\"%(name)s\\",\\n"); +\tfprintf(out, " \\"optype\\": \\"%(name)s\\",\\n"); \t%(print_args)s \t%(arg_fini)sreturn (0); } @@ -274,10 +274,10 @@ __wt_logop_%(name)s_print( if has_escape(optype.fields) else ''), 'arg_addrs' : ''.join(', &%s' % f[1] for f in optype.fields), 'print_args' : '\n\t'.join( - '%sfprintf(out, " \\"%s\\": \\"%s\\",\\n",%s);' % + '%sfprintf(out, " \\"%s\\": \\"%s\\",\\n",%s);' % (printf_setup(f), f[1], printf_fmt(f), printf_arg(f)) for f in optype.fields[:-1]) + str( - '\n\t%sfprintf(out, " \\"%s\\": \\"%s\\"",%s);' % + '\n\t%sfprintf(out, " \\"%s\\": \\"%s\\"",%s);' % (printf_setup(last_field), last_field[1], printf_fmt(last_field), printf_arg(last_field))), }) |