From c580fb76839c2eb0f9837a3940ec4a9b54b22b71 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sun, 26 Apr 2015 18:20:09 +0200 Subject: [PATCH] Use python3-compatible form for except clause Signed-off-by: Julien Cristau --- britney.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney.py b/britney.py index 8468846..2f752e2 100755 --- a/britney.py +++ b/britney.py @@ -2628,7 +2628,7 @@ class Britney(object): continue try: readline.write_history_file(histfile) - except IOError, e: + except IOError as e: self.__log("Could not write %s: %s" % (histfile, e), type="W") def do_hint(self, hinttype, who, pkgvers):