Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
bf9f39be
Commit
bf9f39be
authored
Nov 23, 2018
by
Guilhem Saurel
Browse files
do not consider None default branches
parent
aeea7210
Pipeline
#1918
passed with stages
in 1 minute and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
bf9f39be
...
...
@@ -867,7 +867,7 @@ def get_default_forge(project):
def
update_gitlab
(
forge
,
data
):
if
'default_branch'
not
in
data
:
if
'default_branch'
not
in
data
or
data
[
'default_branch'
]
is
None
:
return
logger
.
info
(
f
'update
{
data
[
"name"
]
}
from
{
forge
}
'
)
public
=
data
[
'visibility'
]
not
in
[
'private'
,
'internal'
]
...
...
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