mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 09:36:21 +01:00
- mark 'build_platform' option as deprecated
This commit is contained in:
parent
284c529a41
commit
69333ac2e0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user