diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/toaster/orm/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py index 6c28726bd9..567732518a 100644 --- a/bitbake/lib/toaster/orm/models.py +++ b/bitbake/lib/toaster/orm/models.py | |||
@@ -1011,6 +1011,7 @@ class LayerIndexLayerSource(LayerSource): | |||
1011 | ro.save() | 1011 | ro.save() |
1012 | except IntegrityError as e: | 1012 | except IntegrityError as e: |
1013 | logger.debug("Failed saving recipe, ignoring: %s (%s:%s)" % (e, ro.layer_version, ri['filepath']+"/"+ri['filename'])) | 1013 | logger.debug("Failed saving recipe, ignoring: %s (%s:%s)" % (e, ro.layer_version, ri['filepath']+"/"+ri['filename'])) |
1014 | ro.delete() | ||
1014 | if not connection.features.autocommits_when_autocommit_is_off: | 1015 | if not connection.features.autocommits_when_autocommit_is_off: |
1015 | transaction.set_autocommit(True) | 1016 | transaction.set_autocommit(True) |
1016 | 1017 | ||