From 59e697e61ed20af2756fcd94046b2425eeb86d23 Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Thu, 25 Aug 2022 09:46:08 +0200 Subject: [PATCH] Remove deprecated 'editmeta' command --- osc/commandline.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/osc/commandline.py b/osc/commandline.py index 5bd5a7b3..cca46ae5 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -2695,26 +2695,6 @@ Please submit there instead, or use --nodevelproject to force direct submission. change_request_state(apiurl, req.reqid, 'superseded', 'superseded by %s' % rid, rid) - # editmeta and its aliases are all deprecated - @cmdln.alias("editprj") - @cmdln.alias("createprj") - @cmdln.alias("editpac") - @cmdln.alias("createpac") - @cmdln.alias("edituser") - @cmdln.alias("usermeta") - @cmdln.hide() - def do_editmeta(self, subcmd, opts, *args): - """ - Obsolete command to edit metadata. Use 'meta' now - - See the help output of 'meta'. - """ - - print("This command is obsolete. Use 'osc meta ...'.", file=sys.stderr) - print("See 'osc help meta'.", file=sys.stderr) - return 2 - - @cmdln.option('-r', '--revision', metavar='rev', help='use the specified revision.') @cmdln.option('-R', '--use-plain-revision', action='store_true',