From 2928afaa547dd8861f0ba9ca2c48c1579c19b48e Mon Sep 17 00:00:00 2001 From: Jason Kincl Date: Tue, 27 Nov 2012 22:23:49 -0500 Subject: adding doc, changing variable names --- src/lib/Bcfg2/Server/Plugins/Svn.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/lib/Bcfg2/Server/Plugins/Svn.py b/src/lib/Bcfg2/Server/Plugins/Svn.py index 9ec334dd0..b1f8ef388 100644 --- a/src/lib/Bcfg2/Server/Plugins/Svn.py +++ b/src/lib/Bcfg2/Server/Plugins/Svn.py @@ -53,14 +53,14 @@ class Svn(Bcfg2.Server.Plugin.Version): else: self.client = pysvn.Client() try: - if self.core.setup.cfg.has_option("svn", + if self.core.setup.cfg.has_option("Svn", "conflict_resolution"): - self.svn_resolution = self.core.setup.cfp.get("svn", + self.svn_resolution = self.core.setup.cfp.get("Svn", "conflict_resolution") self.client.callback_conflict_resolver = \ self.callback_conflict_resolver except ConfigParser.NoSectionError: - msg = "Svn: No [svn] section found in bcfg2.conf" + msg = "Svn: No [Svn] section found in bcfg2.conf" self.logger.warning(msg) except ConfigParser.NoOptionError: msg = "Svn: Option not found in bcfg2.conf: %s" % \ -- cgit v1.2.3-1-g7c22