summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Hg.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-10-29 10:21:12 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-10-29 15:22:33 -0400
commit6dd9756f7a87d5e875f5db02f306c7b906902a96 (patch)
tree81ab5e948e9b2449609e260628d5d14f63f5a6cf /src/lib/Bcfg2/Server/Plugins/Hg.py
parentaec12296330b121fcb3fd038f85c0a4590be8ce4 (diff)
downloadbcfg2-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/Hg.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Hg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Hg.py b/src/lib/Bcfg2/Server/Plugins/Hg.py
index f9a9f858c..7554b4d52 100644
--- a/src/lib/Bcfg2/Server/Plugins/Hg.py
+++ b/src/lib/Bcfg2/Server/Plugins/Hg.py
@@ -12,8 +12,8 @@ class Hg(Bcfg2.Server.Plugin.Version):
__author__ = 'bcfg-dev@mcs.anl.gov'
__vcs_metadata_path__ = ".hg"
- def __init__(self, core, datastore):
- Bcfg2.Server.Plugin.Version.__init__(self, core, datastore)
+ def __init__(self, core):
+ Bcfg2.Server.Plugin.Version.__init__(self, core)
self.logger.debug("Initialized hg plugin with hg directory %s" %
self.vcs_path)