summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Probes.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-08-09 10:59:12 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-08-09 10:59:12 -0400
commit86ebb3260c9e1bc77d2f69257576bcbabeba4097 (patch)
tree8407f13776c6205202977e5651f3fc093c822843 /src/lib/Bcfg2/Server/Plugins/Probes.py
parent12eaac53025c88e478e1b32280e519f566655da7 (diff)
downloadbcfg2-86ebb3260c9e1bc77d2f69257576bcbabeba4097.tar.gz
bcfg2-86ebb3260c9e1bc77d2f69257576bcbabeba4097.tar.bz2
bcfg2-86ebb3260c9e1bc77d2f69257576bcbabeba4097.zip
Plugins: Fixed/made consistent Django model load
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Probes.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Probes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Probes.py b/src/lib/Bcfg2/Server/Plugins/Probes.py
index ad9e5a88d..21bb331cd 100644
--- a/src/lib/Bcfg2/Server/Plugins/Probes.py
+++ b/src/lib/Bcfg2/Server/Plugins/Probes.py
@@ -200,7 +200,7 @@ class Probes(Bcfg2.Server.Plugin.Probing,
Bcfg2.Options.BooleanOption(
cf=('probes', 'use_database'), dest="probes_db",
help="Use database capabilities of the Probes plugin")]
- options_parsed_hook = load_django_models
+ options_parsed_hook = staticmethod(load_django_models)
def __init__(self, core, datastore):
Bcfg2.Server.Plugin.Probing.__init__(self)