Fix bug 2373 - Remove old code from v1 client in ns_show
[osm/osmclient.git] / osmclient / cli_commands / ns.py
index 80961d5..a21c492 100755 (executable)
@@ -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)])
 
-    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)