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

Issue 6448102: BlueprintPlugins

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by Maiku Mori
Modified:
11 years, 9 months ago
Reviewers:
thomas.j.waldmann
Visibility:
Public.

Description

BlueprintPlugins For reference my config file: from wikiconfig import * class LocalConfig(Config): sitename = u'My MoinMoin Dev Fork' acl_functions = u'+MM:superuser TrustedEditorGroup:notextcha' example_plugin_config = { "default_name": "Jack Sparrow", } plugins_config = { "ExampleMoinPlugin": example_plugin_config, } plugins_enabled = [ "ExampleMoinPlugin", "MoinMoin.themes.foobar", "MoinMoin.themes.modernized", "MoinMoin.storage.stores.fs", ] theme_default = "Modernized" MOINCFG = LocalConfig DEBUG = True

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -3 lines) Patch
M MoinMoin/app.py View 1 chunk +3 lines, -0 lines 0 comments Download
M MoinMoin/plugin.py View 1 chunk +19 lines, -0 lines 4 comments Download
M contrib/ExamplePlugin/ExampleMoinPlugin/__init__.py View 1 chunk +32 lines, -3 lines 4 comments Download
A contrib/ExamplePlugin/ExampleMoinPlugin/templates/example_index.html View 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 2
ThomasJWaldmann
http://codereview.appspot.com/6448102/diff/1/MoinMoin/plugin.py File MoinMoin/plugin.py (right): http://codereview.appspot.com/6448102/diff/1/MoinMoin/plugin.py#newcode116 MoinMoin/plugin.py:116: """ use a property maybe? http://codereview.appspot.com/6448102/diff/1/MoinMoin/plugin.py#newcode124 MoinMoin/plugin.py:124: return dict() ...
11 years, 9 months ago (2012-08-06 14:39:35 UTC) #1
Maiku Mori
11 years, 9 months ago (2012-08-13 08:48:54 UTC) #2
http://codereview.appspot.com/6448102/diff/1/MoinMoin/plugin.py
File MoinMoin/plugin.py (right):

http://codereview.appspot.com/6448102/diff/1/MoinMoin/plugin.py#newcode116
MoinMoin/plugin.py:116: """
On 2012/08/06 14:39:35, ThomasJWaldmann wrote:
> use a property maybe?
Isn't method a bit more flexible here? Then again I guess you can do all the
initialization (and set the property) in __init__()

http://codereview.appspot.com/6448102/diff/1/MoinMoin/plugin.py#newcode124
MoinMoin/plugin.py:124: return dict()
On 2012/08/06 14:39:35, ThomasJWaldmann wrote:
> use a property maybe?
Yeah, makes sense.
Sign in to reply to this message.

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