#1678 swapped values in message
Merged 4 years ago by tkopecek. Opened 4 years ago by tkopecek.
tkopecek/koji issue1090a  into  master

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

          old_grp_conf = query.executeOne()

          if not old_grp_conf:

              raise koji.GenericError("No group: %s found for tag: %s"

-                                     % (tag['name'], group['name']))

+                                     % (group['name'], tag['name']))

      update = UpdateProcessor('group_config', values=locals(), clauses=clauses)

      update.make_revoke()

      update.execute()

@@ -207,7 +207,7 @@ 

          self.assertEqual(len(self.inserts), 0)

          self.assertEqual(len(self.updates), 0)

          self.assertEqual(cm.exception.args[0],

-                          'No group: tag found for tag: group')

+                          'No group: group found for tag: tag')

  

          # force = True

          self.reset_db_processors()

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

4 years ago

rebased onto 0d6d9a5

4 years ago

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

4 years ago

Commit f7fda34 fixes this pull-request

Pull-Request has been merged by tkopecek

4 years ago