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

workaround dockering

parent c934f913
Pipeline #14813 failed with stage
in 53 seconds
...@@ -148,6 +148,8 @@ class Forge(Links, NamedModel): ...@@ -148,6 +148,8 @@ class Forge(Links, NamedModel):
def get_namespaces_gitlab(self): def get_namespaces_gitlab(self):
for data in self.api_list('/namespaces'): for data in self.api_list('/namespaces'):
if data['name'] == 'dockering':
Namespace.objects.get_or_create(slug=slugify(data['path']), Namespace.objects.get_or_create(slug=slugify(data['path']),
defaults={ defaults={
'name': data['name'], 'name': data['name'],
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