From ae8adfc4e72d09378a9de6afbee51def66ecd9a8 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Mon, 10 Apr 2017 16:38:14 +0200 Subject: [PATCH] backward-compatible try/except --- cli/koji | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/koji b/cli/koji index ca8631e5..7a906fe0 100755 --- a/cli/koji +++ b/cli/koji @@ -7394,7 +7394,7 @@ def handle_save_failed_tree(options, session, args): 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 "