diff options
Diffstat (limited to 'ipaclient/plugins/automount.py')
-rw-r--r-- | ipaclient/plugins/automount.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipaclient/plugins/automount.py b/ipaclient/plugins/automount.py index 8405f9f4f..c6537bc6c 100644 --- a/ipaclient/plugins/automount.py +++ b/ipaclient/plugins/automount.py @@ -54,7 +54,8 @@ class _fake_automountlocation_show(Method): class automountlocation_tofiles(MethodOverride): @property def NO_CLI(self): - return self.api.Command.automountlocation_show.NO_CLI + return isinstance(self.api.Command.automountlocation_show, + _fake_automountlocation_show) def output_for_cli(self, textui, result, *keys, **options): maps = result['result']['maps'] |