Use python3-compatible form for except clause

Signed-off-by: Julien Cristau <jcristau@debian.org>
master
Julien Cristau 9 years ago 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):

Loading…
Cancel
Save