Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Projects
Groups
Snippets
Sign up now
Login
Sign in
Toggle navigation
Menu
Open sidebar
protokollsystem
proto3
Commits
1db55b95
Commit
1db55b95
authored
Jun 06, 2018
by
Robin Sonnabend
Browse files
Do not require localtops to exist
/close
#200
parent
a50a8a01
Changes
1
Hide whitespace changes
Inline
Side-by-side
models/database.py
View file @
1db55b95
...
...
@@ -486,7 +486,7 @@ class DefaultTOP(DatabaseModel):
localtop
=
self
.
get_localtop
(
protocol
)
top
=
TOP
(
protocol_id
=
protocol
.
id
,
name
=
self
.
name
,
description
=
localtop
.
description
)
description
=
getattr
(
localtop
,
"
description
"
,
""
)
)
return
top
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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