From fddcb48b5c79aaee336173479b060422a6ad1a21 Mon Sep 17 00:00:00 2001 From: Edoardo Putti Date: Mon, 20 Feb 2017 16:39:50 +0100 Subject: [PATCH] remove stub implementation for generate method --- models/authority.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/models/authority.py b/models/authority.py index 2578bed..1198aa2 100755 --- a/models/authority.py +++ b/models/authority.py @@ -28,12 +28,7 @@ class Authority(Model): return os.path.join(self.ca_dir, self.ca_id) def generate(self): - """ - Leave a dump of this class in the MANAGER_PATH - """ - pickled_path = os.path.join(MANAGER_PATH, 'pickled_cas', self.ca_id) - with open(pickled_path, 'wb') as out: - pickle.dump(self, out) + raise NotImplementedError() def sign(self, request): raise NotImplementedError()