From b1ecbb84047f3287a9c8404e4f1a5f9fb94fbaeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= Date: Wed, 13 May 2015 19:32:44 +0200 Subject: [PATCH] editrights needs loadscripts server command --- cloudcontrol/cli/commands/right.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cloudcontrol/cli/commands/right.py b/cloudcontrol/cli/commands/right.py index b0e5f1e..1dd1eba 100644 --- a/cloudcontrol/cli/commands/right.py +++ b/cloudcontrol/cli/commands/right.py @@ -107,8 +107,7 @@ class Command_editrights(RemoteCommand): r['action'])) temp.flush() new_rights = self.edit(temp) - temp.close() self.rpc.call('saverights', new_rights) def remote_functions(self): - return set(('saverights',)) + return set(('loadrights', 'saverights')) -- GitLab