summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Options.py
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2012-08-15 12:53:38 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2012-08-15 12:53:38 -0500
commit0bfe30a61d76511da3ea1ee2cb526a87bc50cffb (patch)
tree2780edae3d86304f4a3c6e41bb9e01c9b57cf16f /src/lib/Bcfg2/Options.py
parentf5d3b73b36712944558f5529785b29621cb5cc11 (diff)
downloadbcfg2-0bfe30a61d76511da3ea1ee2cb526a87bc50cffb.tar.gz
bcfg2-0bfe30a61d76511da3ea1ee2cb526a87bc50cffb.tar.bz2
bcfg2-0bfe30a61d76511da3ea1ee2cb526a87bc50cffb.zip
Options: swap deprecation warning values
Diffstat (limited to 'src/lib/Bcfg2/Options.py')
-rw-r--r--src/lib/Bcfg2/Options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Options.py b/src/lib/Bcfg2/Options.py
index 4c6fb06d7..2ca465a4f 100644
--- a/src/lib/Bcfg2/Options.py
+++ b/src/lib/Bcfg2/Options.py
@@ -141,7 +141,7 @@ class Option(object):
try:
self.value = self.get_cooked_value(configparser.get(*self.deprecated_cf))
print "Warning: [%s] %s is deprecated, use [%s] %s instead" % \
- (self.cf[0], self.cf[1], self.deprecated_cf[0], self.deprecated_cf[1])
+ (self.deprecated_cf[0], self.deprecated_cf[1], self.cf[0], self.cf[1])
return
except (ConfigParser.NoSectionError, ConfigParser.NoOptionError):
pass