deprecated warning for cli option --ca as well

fixes: #2182
This commit is contained in:
Yu Ming Zhu 2020-05-15 08:14:06 +00:00 committed by Tomas Kopecek
parent daaed8d662
commit 80cf5ac94a
2 changed files with 3 additions and 3 deletions

View file

@ -168,6 +168,9 @@ def get_options():
value = os.path.expanduser(getattr(options, name))
setattr(options, name, value)
if options.ca:
koji.util.deprecated("--ca option is deprecated and will be removed in 1.24")
# honor topdir
if options.topdir:
koji.BASEDIR = options.topdir

View file

@ -1914,9 +1914,6 @@ def read_config(profile_name, user_config=None):
else:
result[name] = os.path.expanduser(result[name])
if result.get('ca'):
util.deprecated("--ca option is deprecated and will be removed in 1.24")
return result