This way, it is easier to make it call the haskell implementation of the network queries.
Signed-off-by: Helga Velroyen <[email protected]> --- lib/client/gnt_network.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/client/gnt_network.py b/lib/client/gnt_network.py index 7210ab3..b07aa7a 100644 --- a/lib/client/gnt_network.py +++ b/lib/client/gnt_network.py @@ -169,9 +169,11 @@ def ListNetworks(opts, args): "tags": (",".join, False), } + cl = GetClient() return GenericList(constants.QR_NETWORK, desired_fields, args, None, opts.separator, not opts.no_headers, - verbose=opts.verbose, format_override=fmtoverride) + verbose=opts.verbose, format_override=fmtoverride, + cl=cl) def ListNetworkFields(opts, args): -- 1.8.1
