projects
/
invirt/packages/invirt-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56b19d6
)
Update except syntax
author
Ben Steffen
<bds@mit.edu>
Wed, 8 Jan 2020 03:22:08 +0000
(22:22 -0500)
committer
Ben Steffen
<bds@mit.edu>
Wed, 8 Jan 2020 03:32:16 +0000
(22:32 -0500)
scripts/invirt-getconf
patch
|
blob
|
history
diff --git
a/scripts/invirt-getconf
b/scripts/invirt-getconf
index
2d5bff2
..
4e319af
100755
(executable)
--- a/
scripts/invirt-getconf
+++ b/
scripts/invirt-getconf
@@
-78,8
+78,8
@@
def main(argv):
else:
yaml.dump(conf, stdout,
Dumper=yaml.CSafeDumper, default_flow_style=False)
- except invirt_exception, ex:
print >> stderr, ex
+ except invirt_exception as ex:
return 1
if __name__ == '__main__':