projects
/
osm
/
vim-emu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c12f976
)
state API fix
author
peusterm
<manuel.peuster@uni-paderborn.de>
Fri, 13 May 2016 12:40:02 +0000
(14:40 +0200)
committer
peusterm
<manuel.peuster@uni-paderborn.de>
Fri, 13 May 2016 12:40:02 +0000
(14:40 +0200)
src/emuvim/cli/compute.py
patch
|
blob
|
history
diff --git
a/src/emuvim/cli/compute.py
b/src/emuvim/cli/compute.py
index
dcb499d
..
0b3f38d
100755
(executable)
--- a/
src/emuvim/cli/compute.py
+++ b/
src/emuvim/cli/compute.py
@@
-57,9
+57,9
@@
class ZeroRpcClient(object):
eth0ip = None
eth0status = "down"
if len(status.get("network")) > 0:
- eth0ip = status.get("network")[0]
[1]
+ eth0ip = status.get("network")[0]
.get("ip")
eth0status = "up" if status.get(
- "network")[0]
[3]
else "down"
+ "network")[0]
.get("up")
else "down"
table.append([status.get("datacenter"),
name,
status.get("image"),