diff --git a/cloudcontrol/cli/commands/right.py b/cloudcontrol/cli/commands/right.py index b0e5f1e5d434b2d4a7cb00a332b2f4ff4f258f65..1dd1eba705d1994ddab208ff4625ed6c61ebb98b 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'))