From b61df1bcc5cfe3e8595d3fe4bdc36714ed6330dc Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Jun 18 2020 11:05:29 +0000 Subject: sidetag: parenthesis typo Related: https://pagure.io/koji/issue/2321 --- diff --git a/plugins/hub/sidetag_hub.py b/plugins/hub/sidetag_hub.py index eb6ad65..6bcfee1 100644 --- a/plugins/hub/sidetag_hub.py +++ b/plugins/hub/sidetag_hub.py @@ -41,7 +41,7 @@ def is_sidetag_owner(taginfo, user, raise_error=False): """Check, that given user is owner of the sidetag""" result = (taginfo['extra'].get('sidetag') and (taginfo['extra'].get('sidetag_user_id') == user['id'] or - context.session.hasPerm('admin')))) + context.session.hasPerm('admin'))) if not result and raise_error: raise koji.ActionNotAllowed("This is not your sidetag")