#2326 sidetag: parenthesis typo
Merged 2 years ago by tkopecek. Opened 2 years ago by tkopecek.
tkopecek/koji issue2321a  into  master

file modified
+1 -1
@@ -41,7 +41,7 @@ 

      """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")


Commit 64147a3 fixes this pull-request

Pull-Request has been merged by tkopecek

2 years ago

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

2 years ago