mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-13 15:37:02 +00:00
Use python3-compatible form for except clause
Signed-off-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
parent
24e8e9337c
commit
c580fb7683
@ -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…
x
Reference in New Issue
Block a user