comparison MoinMoin/action/revert.py @ 2333:88c539512520

s/page_edit/notify
author Karol Nowak <grzywacz@sul.uni.lodz.pl>
date Wed, 27 Jun 2007 13:25:40 +0200
parents 38f4f0311a98
children 10be78f1fa97
comparison
equal deleted inserted replaced
2332:456545b5acfe 2333:88c539512520
25 else: 25 else:
26 newpg = PageEditor(request, pagename) 26 newpg = PageEditor(request, pagename)
27 27
28 revstr = '%08d' % rev 28 revstr = '%08d' % rev
29 try: 29 try:
30 msg = newpg.saveText(pg.get_raw_body(), 0, extra=revstr, action="SAVE/REVERT", page_edit=False) 30 msg = newpg.saveText(pg.get_raw_body(), 0, extra=revstr, action="SAVE/REVERT", notify=False)
31 pg = newpg 31 pg = newpg
32 except newpg.SaveError, msg: 32 except newpg.SaveError, msg:
33 msg = unicode(msg) 33 msg = unicode(msg)
34 request.reset() 34 request.reset()
35 35