Commit e9dddd00 authored by Lukas Burgey's avatar Lukas Burgey

Circumvent a bug

The problem runs deeper than this
parent 504420f0
......@@ -334,8 +334,9 @@ class SSHPublicKey(models.Model):
self.save()
# delete implies removeing the key from all clients
for dep in self.user.deployments.all():
dep.remove_key(self)
# TODO dep don't have remove_key anymore
#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
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