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

flake8

parent 75c252f9
Pipeline #719 passed with stages
in 46 seconds
import json import json
import logging import logging
import re import re
from subprocess import CalledProcessError, check_output from subprocess import check_output
from django.conf import settings from django.conf import settings
from django.db import models from django.db import models
...@@ -553,7 +553,7 @@ class Robotpkg(NamedModel): ...@@ -553,7 +553,7 @@ class Robotpkg(NamedModel):
Image.objects.get_or_create(robotpkg=self, target=target, py3=False)[0].update() Image.objects.get_or_create(robotpkg=self, target=target, py3=False)[0].update()
if self.name.startswith('py-'): if self.name.startswith('py-'):
for target in Target.objects.all(): for target in Target.objects.all():
image = Image.objects.get_or_create(robotpkg=self, target=target, py3=True)[0].update() Image.objects.get_or_create(robotpkg=self, target=target, py3=True)[0].update()
def update(self, pull=True): def update(self, pull=True):
path = settings.RAINBOARD_RPKG path = settings.RAINBOARD_RPKG
......
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