Commit 38e4af38 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

typo

parent c703409f
Pipeline #4409 failed with stage
in 1 minute and 12 seconds
...@@ -4,6 +4,8 @@ import re ...@@ -4,6 +4,8 @@ import re
import time import time
from subprocess import check_output from subprocess import check_output
import git
import requests
from django.conf import settings from django.conf import settings
from django.core.mail import mail_admins from django.core.mail import mail_admins
from django.db import models from django.db import models
...@@ -15,9 +17,6 @@ from django.utils import timezone ...@@ -15,9 +17,6 @@ from django.utils import timezone
from django.utils.dateparse import parse_datetime from django.utils.dateparse import parse_datetime
from django.utils.safestring import mark_safe from django.utils.safestring import mark_safe
import requests
import git
from autoslug import AutoSlugField from autoslug import AutoSlugField
from ndh.models import Links, NamedModel, TimeStampedModel from ndh.models import Links, NamedModel, TimeStampedModel
from ndh.utils import enum_to_choices, query_sum from ndh.utils import enum_to_choices, query_sum
...@@ -814,7 +813,7 @@ class Image(models.Model): ...@@ -814,7 +813,7 @@ class Image(models.Model):
ret = { ret = {
'TARGET': self.target, 'TARGET': self.target,
'ROBOTPKG': self.robotpkg, 'ROBOTPKG': self.robotpkg,
'CATEGORY': self.robotpkg.category 'CATEGORY': self.robotpkg.category,
'REGISTRY': self.robotpkg.project.registry(), 'REGISTRY': self.robotpkg.project.registry(),
} }
if not self.robotpkg.project.public: if not self.robotpkg.project.public:
......
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