Use python3-compatible form for except clause

Signed-off-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
Julien Cristau 2015-04-26 18:20:09 +02:00 committed by Niels Thykier
parent 24e8e9337c
commit c580fb7683

View File

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