Commit bf9f39be authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

do not consider None default branches

parent aeea7210
Pipeline #1918 passed with stages
in 1 minute and 2 seconds
......@@ -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']
......
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