#373 backward-compatible try/except
Merged 7 years ago by mikem. Opened 7 years ago by tkopecek.
tkopecek/koji compatibility  into  master

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

  

      try:

          task_id = session.saveFailedTree(br_id, opts.full)

-     except koji.GenericError as e:

+     except koji.GenericError, e:

          m = str(e)

          if 'Invalid method' in m:

              print(_("* The save_failed_tree plugin appears to not be "

python 2.4 will not like this

Ah, yes, we should probably pull this into 1.12

Commit 0b81c35 fixes this pull-request

Pull-Request has been merged by mikem@redhat.com

7 years ago
Metadata