diff options
author | Tim Laszlo <tim.laszlo@gmail.com> | 2012-08-15 12:53:38 -0500 |
---|---|---|
committer | Tim Laszlo <tim.laszlo@gmail.com> | 2012-08-15 12:53:38 -0500 |
commit | 0bfe30a61d76511da3ea1ee2cb526a87bc50cffb (patch) | |
tree | 2780edae3d86304f4a3c6e41bb9e01c9b57cf16f /src | |
parent | f5d3b73b36712944558f5529785b29621cb5cc11 (diff) | |
download | bcfg2-0bfe30a61d76511da3ea1ee2cb526a87bc50cffb.tar.gz bcfg2-0bfe30a61d76511da3ea1ee2cb526a87bc50cffb.tar.bz2 bcfg2-0bfe30a61d76511da3ea1ee2cb526a87bc50cffb.zip |
Options: swap deprecation warning values
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Bcfg2/Options.py | 2 |
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 |