~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/conf/conf.py

Move the plugin loading/indexing logic into ivle.config.Config.
Also eliminate plugins_HACK, looking in a configuration file instead.

req.config is now set to a Config instance, and things that need to look
at plugins ask it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
import ivle.config
33
33
 
34
34
try:
35
 
    conf = ivle.config.Config()
 
35
    conf = ivle.config.Config(plugins=False)
36
36
except ivle.config.ConfigError, e:
37
37
    raise ImportError(str(e))
38
38