[gegl] tests: make run-compositions.py Python 3 friendly



commit 7fd9a0adb0b4fe83404e142010c5c32266e34b82
Author: Ell <ell_se yahoo com>
Date:   Tue May 31 15:23:39 2016 +0000

    tests: make run-compositions.py Python 3 friendly

 tests/compositions/run-compositions.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/compositions/run-compositions.py b/tests/compositions/run-compositions.py
index 00291ca..fe86fc0 100755
--- a/tests/compositions/run-compositions.py
+++ b/tests/compositions/run-compositions.py
@@ -124,7 +124,7 @@ class Context():
       subprocess.check_call([self.img_cmp_bin, ref_image_path, out_image_path], env=img_cmp_env)
     except KeyboardInterrupt:
       raise
-    except subprocess.CalledProcessError, e:
+    except subprocess.CalledProcessError as e:
       if VERBOSE:
         print (e)
       print (FAIL_STR, result_name_str)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]