#1960 user proper type for buildroot state comparison
Merged 4 years ago by tkopecek. Opened 4 years ago by tkopecek.
tkopecek/koji issue1959  into  master

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

          if koji.BR_STATES[row['state']] == 'EXPIRED':

              #we will quietly ignore a request to expire an expired buildroot

              #otherwise this is an error

-             if state == 'EXPIRED':

+             if koji.BR_STATES[state] == 'EXPIRED':

                  return

              else:

                  raise koji.GenericError("buildroot %i is EXPIRED" % self.id)

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

4 years ago

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

4 years ago

Commit 422f9db fixes this pull-request

Pull-Request has been merged by tkopecek

4 years ago
Metadata