Skip to content

Commit

Permalink
Fix deprecation message
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed Dec 12, 2023
1 parent 8e6ddec commit 5222065
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plugins/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,12 @@ def normalize_args(args):
linux_distro = force_linux_distro
else:
linux_distro = None

if '--keyserver' in args:
warn('--keyserver option is deprecated. It is safe to remove it')
return action, repo_name, repo_type, project, linux_distro


def validate_input(args):
if '--keyserver' in args:
warn('--keyserver option is deprecated. It is safe to remove it')

if 'enable' or 'disable' or 'list' in args['ACTION']:
pass
else:
Expand Down

0 comments on commit 5222065

Please sign in to comment.