Commit e9dddd00 authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Circumvent a bug

The problem runs deeper than this
parent 504420f0
...@@ -334,8 +334,9 @@ class SSHPublicKey(models.Model): ...@@ -334,8 +334,9 @@ class SSHPublicKey(models.Model):
self.save() self.save()
# delete implies removeing the key from all clients # delete implies removeing the key from all clients
for dep in self.user.deployments.all(): # TODO dep don't have remove_key anymore
dep.remove_key(self) #for dep in self.user.deployments.all():
# dep.remove_key(self)
# when a key is removed by a client we try to finally delete it # when a key is removed by a client we try to finally delete it
def try_final_deletion(self): def try_final_deletion(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment