From 69333ac2e02b674926b553878b05a095e2fb3e7f Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Thu, 18 Feb 2010 13:58:01 +0100 Subject: [PATCH] - mark 'build_platform' option as deprecated --- osc/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osc/conf.py b/osc/conf.py index de77ee5c..e88ec3bb 100644 --- a/osc/conf.py +++ b/osc/conf.py @@ -634,7 +634,8 @@ def get_config(override_conffile = None, if config.has_key('apisrv') or config.has_key('scheme'): print >>sys.stderr, 'Warning: Use of the \'scheme\' or \'apisrv\' in ~/.oscrc is deprecated!\n' \ 'Warning: See README for migration details.' - if config.has_key('build_platform') and not config.has_key('build_repository'): + if config.has_key('build_platform'): + print >>sys.stderr, 'Warning: Use of \'build_platform\' config option is deprecated! (use \'build_repository\' instead)' config['build_repository'] = config['build_platform'] # override values which we were called with