Merge lp://staging/~bjornt/editmoin/factor-out-edit-function into lp://staging/editmoin
Proposed by
Björn Tillenius
Status: | Merged |
---|---|
Merge reported by: | Gustavo Niemeyer |
Merged at revision: | not available |
Proposed branch: | lp://staging/~bjornt/editmoin/factor-out-edit-function |
Merge into: | lp://staging/editmoin |
Diff against target: | None lines |
To merge this branch: | bzr merge lp://staging/~bjornt/editmoin/factor-out-edit-function |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gustavo Niemeyer | Approve | ||
Review via email: mp+4769@code.staging.launchpad.net |
To post a comment you must log in.
This branch factors out the functionality that actually edits the page at a shortcut URL into a separate function. This allows me to use editmoin functionality from with in a script. (Of course, having an editmoin.py that could be installed in the PYTHONPATH would be even better, but for now I can rename the editmoin file manually).
I wasn't sure whether to name to function editshortcut() or edit_shortcut(), but I went with the former to be consistent with editfile().