diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-10-29 10:21:12 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-10-29 15:22:33 -0400 |
commit | 6dd9756f7a87d5e875f5db02f306c7b906902a96 (patch) | |
tree | 81ab5e948e9b2449609e260628d5d14f63f5a6cf /src/lib/Bcfg2/Server/Plugins/Ohai.py | |
parent | aec12296330b121fcb3fd038f85c0a4590be8ce4 (diff) | |
download | bcfg2-6dd9756f7a87d5e875f5db02f306c7b906902a96.tar.gz bcfg2-6dd9756f7a87d5e875f5db02f306c7b906902a96.tar.bz2 bcfg2-6dd9756f7a87d5e875f5db02f306c7b906902a96.zip |
Plugins: refactored out unnecessary datastore constructor argument
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Ohai.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Ohai.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Ohai.py b/src/lib/Bcfg2/Server/Plugins/Ohai.py index 18261be10..ba7baab11 100644 --- a/src/lib/Bcfg2/Server/Plugins/Ohai.py +++ b/src/lib/Bcfg2/Server/Plugins/Ohai.py @@ -79,8 +79,8 @@ class Ohai(Bcfg2.Server.Plugin.Plugin, about the client operating system. """ - def __init__(self, core, datastore): - Bcfg2.Server.Plugin.Plugin.__init__(self, core, datastore) + def __init__(self, core): + Bcfg2.Server.Plugin.Plugin.__init__(self, core) Bcfg2.Server.Plugin.Probing.__init__(self) Bcfg2.Server.Plugin.Connector.__init__(self) self.probe = lxml.etree.Element('probe', name='Ohai', source='Ohai', |