projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
osm.py: minor fix when using ns-list --long
[osm/osmclient.git]
/
osmclient
/
scripts
/
osm.py
diff --git
a/osmclient/scripts/osm.py
b/osmclient/scripts/osm.py
index
6245bb3
..
d405d6d
100755
(executable)
--- a/
osmclient/scripts/osm.py
+++ b/
osmclient/scripts/osm.py
@@
-230,7
+230,7
@@
def ns_list(ctx, filter, long):
summary = ""
n_nets = 0
status_nets = {}
- net_list = status_dict
['nets']
+ net_list = status_dict
.get('nets',[])
for net in net_list:
n_nets += 1
if net['status'] not in status_nets: