simplify error handler
This commit is contained in:
parent
b592d0eee1
commit
4547e7ed0a
1 changed files with 1 additions and 2 deletions
|
|
@ -1800,8 +1800,7 @@ def handle_rename_sig(goptions, session, args):
|
|||
session.renameRPMSig(rpminfo, oldkey, newkey)
|
||||
except koji.GenericError as e:
|
||||
# the api error messages are sufficiently descriptive
|
||||
msg = str(e)
|
||||
error(msg)
|
||||
error(str(e))
|
||||
|
||||
|
||||
def handle_remove_sig(goptions, session, args):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue