Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to qemu-2.6.
[kvmfornfv.git]
/
qemu
/
scripts
/
qmp
/
qmp
diff --git
a/qemu/scripts/qmp/qmp
b/qemu/scripts/qmp/qmp
index
1db3c7f
..
514b539
100755
(executable)
--- a/
qemu/scripts/qmp/qmp
+++ b/
qemu/scripts/qmp/qmp
@@
-91,8
+91,8
@@
def main(args):
try:
os.environ['QMP_PATH'] = path
os.execvp(fullcmd, [fullcmd] + args)
- except OSError
, (errno, msg)
:
- if errno == 2:
+ except OSError
as exc
:
+ if e
xc.e
rrno == 2:
print 'Command "%s" not found.' % (fullcmd)
return 1
raise