mirror of
https://github.com/samba-team/samba.git
synced 2025-08-15 13:49:28 +03:00
source4/scripting python: convert 'except X, e' to 'except X as e'
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
20e38fbd45
commit
f43cb7c38d
@ -113,7 +113,7 @@ class WerrorHtmlParser(object):
|
||||
for line in fp:
|
||||
html_str += line.strip()
|
||||
fp.close()
|
||||
except IOError, e:
|
||||
except IOError as e:
|
||||
print "error loading url: " + e.strerror
|
||||
pass
|
||||
|
||||
|
Reference in New Issue
Block a user