summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/cli/provider.py
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-08-31 10:53:20 +0200
committerRuben Pollan <meskio@sindominio.net>2017-08-31 12:56:43 +0200
commit0db7a322a103b9886e74d9e017aa4a6298fdbe55 (patch)
treead13ccc656fb73fb23d06e307032188c0e50afe8 /src/leap/bitmask/cli/provider.py
parent663c87c221c42e081b5947e298bc9f0541e6913a (diff)
[feat] make the cli default_printer more generic
Now the default_printer can handle other types than dict, like lists or strings.
Diffstat (limited to 'src/leap/bitmask/cli/provider.py')
-rw-r--r--src/leap/bitmask/cli/provider.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/cli/provider.py b/src/leap/bitmask/cli/provider.py
index 7c30df3..fb3e53e 100644
--- a/src/leap/bitmask/cli/provider.py
+++ b/src/leap/bitmask/cli/provider.py
@@ -56,7 +56,7 @@ SUBCOMMANDS:
subargs = parser.parse_args(raw_args)
self.data += ['read', subargs.domain[0]]
- return self._send(printer=command.default_dict_printer)
+ return self._send(printer=command.default_printer)
def delete(self, raw_args):
parser = argparse.ArgumentParser(