git.samba.org
/
abartlet
/
samba.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
source4/scripting python: convert 'except X, e' to 'except X as e'
[abartlet/samba.git/.git]
/
source4
/
scripting
/
bin
/
w32err_code.py
diff --git
a/source4/scripting/bin/w32err_code.py
b/source4/scripting/bin/w32err_code.py
index cd17f995ce17d0f683e534094f00473eda979f2a..6687c8222a0050c2c34a51c667cf43a4bcb111d1 100755
(executable)
--- a/
source4/scripting/bin/w32err_code.py
+++ b/
source4/scripting/bin/w32err_code.py
@@
-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