diff options
-rw-r--r-- | bitbake/lib/toaster/orm/models.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py index 0d503a5142..1098ad3fd1 100644 --- a/bitbake/lib/toaster/orm/models.py +++ b/bitbake/lib/toaster/orm/models.py | |||
@@ -1389,9 +1389,6 @@ class Machine(models.Model): | |||
1389 | return "Machine " + self.name + "(" + self.description + ")" | 1389 | return "Machine " + self.name + "(" + self.description + ")" |
1390 | 1390 | ||
1391 | 1391 | ||
1392 | |||
1393 | |||
1394 | |||
1395 | class BitbakeVersion(models.Model): | 1392 | class BitbakeVersion(models.Model): |
1396 | 1393 | ||
1397 | name = models.CharField(max_length=32, unique = True) | 1394 | name = models.CharField(max_length=32, unique = True) |
@@ -1853,6 +1850,8 @@ def signal_runbuilds(): | |||
1853 | os.kill(int(pidf.read()), SIGUSR1) | 1850 | os.kill(int(pidf.read()), SIGUSR1) |
1854 | except FileNotFoundError: | 1851 | except FileNotFoundError: |
1855 | logger.info("Stopping existing runbuilds: no current process found") | 1852 | logger.info("Stopping existing runbuilds: no current process found") |
1853 | except ProcessLookupError: | ||
1854 | logger.warning("Stopping existing runbuilds: process lookup not found") | ||
1856 | 1855 | ||
1857 | class Distro(models.Model): | 1856 | class Distro(models.Model): |
1858 | search_allowed_fields = ["name", "description", "layer_version__layer__name"] | 1857 | search_allowed_fields = ["name", "description", "layer_version__layer__name"] |