diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-06-01 00:28:03 -0700 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-07-21 08:15:53 +0200 |
commit | b478ff069e6d5e57ae6ae8bfd69ef7b476bf7ffb (patch) | |
tree | 9e2c26138925b271f532847d3a04298344e5d044 /layerindex/update.py | |
parent | de4400674da95d7dea90819cf7b5bebe643e4c6f (diff) | |
download | openembedded-core-contrib-b478ff069e6d5e57ae6ae8bfd69ef7b476bf7ffb.tar.gz |
update_layer.py: move the location of transaction.atomic()
It doesn't need to be so ahead since we only need it when writing database, and
a following patch will remove layerbranch from database when the branch had
been removed from the repo, it's not easy to do the work in
transaction.atomic() block.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'layerindex/update.py')
0 files changed, 0 insertions, 0 deletions