Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
feudal
feudalBackend
Commits
e9dddd00
Commit
e9dddd00
authored
Oct 25, 2018
by
Lukas Burgey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Circumvent a bug
The problem runs deeper than this
parent
504420f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
feudal/backend/models/users.py
feudal/backend/models/users.py
+3
-2
No files found.
feudal/backend/models/users.py
View file @
e9dddd00
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
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