Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1457)

Issue 6256061: Proposed fix for http://moinmo.in/MoinMoinBugs/UnderlayPagesCanReceiveAttachments

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 6 months ago by eSyr
Modified:
12 years, 6 months ago
Reviewers:
thomas.j.waldmann
Visibility:
Public.

Description

Proposed fix for http://moinmo.in/MoinMoinBugs/UnderlayPagesCanReceiveAttachments

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -1 line) Patch
M MoinMoin/PageEditor.py View 3 chunks +3 lines, -1 line 0 comments Download
M MoinMoin/action/AttachFile.py View 3 chunks +13 lines, -0 lines 1 comment Download

Messages

Total messages: 1
ThomasJWaldmann
12 years, 6 months ago (2012-05-28 16:21:12 UTC) #1
http://codereview.appspot.com/6256061/diff/1/MoinMoin/action/AttachFile.py
File MoinMoin/action/AttachFile.py (right):

http://codereview.appspot.com/6256061/diff/1/MoinMoin/action/AttachFile.py#ne...
MoinMoin/action/AttachFile.py:221: 
did you consider just calling copy_underlay_page()?

it might be not really needed to save a new (identical) page text revision just
to trigger that call in _write_file().

if that works, you also do not need to change PageEditor.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b