]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toaster: Update API used to make runbuilds methods run in transactions
authorElliot Smith <elliot.smith@intel.com>
Thu, 10 Dec 2015 03:56:32 +0000 (19:56 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Dec 2015 23:12:44 +0000 (23:12 +0000)
commitc4804b84eaaef6a81027bae5cf8bfe63d949c293
treedb96f8e0aeb6d7cd1d45612f40d92a9638d2f217
parentef8b399dccd413070e32ce05e013337ea01fa64d
toaster: Update API used to make runbuilds methods run in transactions

runbuilds previously had its methods decorated with
transaction.commit_on_success, which is now deprecated. transaction.atomic
is an (almost) drop-in replacement for this, so use this instead.

[YOCTO #8364]

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/toaster/bldcontrol/management/commands/runbuilds.py