changeset 2676:27cbb9d8f08c

merge
author RogerHaase <haaserd@gmail.com>
date Sun, 20 Jul 2014 15:10:31 -0700
parents c040fb080073 (current diff) 5aeeb1cac5b9 (diff)
children fded75e578be
files
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/maint/modify_item.py	Sat Jul 19 17:22:05 2014 +0200
+++ b/MoinMoin/script/maint/modify_item.py	Sun Jul 20 15:10:31 2014 -0700
@@ -10,6 +10,7 @@
 
 from flask import current_app as app
 from flask.ext.script import Command, Option
+from flask import g as flaskg
 
 from MoinMoin.constants.keys import CURRENT, ITEMID, REVID, DATAID, SIZE, HASH_ALGORITHM
 
@@ -50,6 +51,7 @@
     )
 
     def run(self, meta_file, data_file, overwrite):
+        flaskg.add_lineno_attr = False
         with open(meta_file, 'rb') as mf:
             meta = mf.read()
         meta = meta.decode('utf-8')