Merge lp://staging/~maxb/editmoin/message-display-fix into lp://staging/editmoin

Proposed by Max Bowsher
Status: Merged
Merge reported by: Gustavo Niemeyer
Merged at revision: not available
Proposed branch: lp://staging/~maxb/editmoin/message-display-fix
Merge into: lp://staging/editmoin
Diff against target: 25 lines (+5/-3)
1 file modified
editmoin (+5/-3)
To merge this branch: bzr merge lp://staging/~maxb/editmoin/message-display-fix
Reviewer Review Type Date Requested Status
Gustavo Niemeyer Approve
Review via email: mp+5320@code.staging.launchpad.net
To post a comment you must log in.
Revision history for this message
Max Bowsher (maxb) wrote :

I find that editmoin displays the message that Moin provides on starting an edit session (which tells you how long you hold the edit lock) twice, working on my office's wiki. Looking at the code I see that editmoin displays this message zero or more times, once every time a regex match for an optional data item fails.

Here is a small change to display the message once, always, rather than the above strange behaviour.

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

Thanks Max. I've committed a change based on your suggestion. It's now printing the message in editfile() itself.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: