Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
e9dddd00
Commit
e9dddd00
authored
Oct 25, 2018
by
Lukas Burgey
Browse files
Circumvent a bug
The problem runs deeper than this
parent
504420f0
Changes
1
Show whitespace changes
Inline
Side-by-side
feudal/backend/models/users.py
View file @
e9dddd00
...
@@ -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
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment