Commit e87fd047 authored by Guido van Rossum's avatar Guido van Rossum

Remove redundant load() call.

parent 023a5e68
......@@ -10,7 +10,6 @@ def main():
cmd = form.getvalue("cmd", "view")
page = form.getvalue("page", "FrontPage")
wiki = WikiPage(page)
wiki.load()
method = getattr(wiki, 'cmd_' + cmd, None) or wiki.cmd_view
method(form)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment