Use python3-compatible form for except clause

Signed-off-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
Julien Cristau 2015-04-25 16:35:09 +02:00 committed by Niels Thykier
parent 4249d3868a
commit 16f77bf6f9

@ -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):