projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug 2373 - Remove old code from v1 client in ns_show
[osm/osmclient.git]
/
osmclient
/
cli_commands
/
ns.py
diff --git
a/osmclient/cli_commands/ns.py
b/osmclient/cli_commands/ns.py
index
80961d5
..
a21c492
100755
(executable)
--- a/
osmclient/cli_commands/ns.py
+++ b/
osmclient/cli_commands/ns.py
@@
-307,11
+307,6
@@
def ns_show(ctx, name, literal, filter, output):
if not filter or k in filter:
table.add_row([k, utils.wrap_text(text=json.dumps(v, indent=2), width=100)])
if not filter or k in filter:
table.add_row([k, utils.wrap_text(text=json.dumps(v, indent=2), width=100)])
- nsopdata = ctx.obj.ns.get_opdata(ns["id"])
- nsr_optdata = nsopdata["nsr:nsr"]
- for k, v in list(nsr_optdata.items()):
- if not filter or k in filter:
- table.add_row([k, utils.wrap_text(json.dumps(v, indent=2), width=100)])
print_output.print_output(output, table.field_names, table._rows)
print_output.print_output(output, table.field_names, table._rows)