mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
bitbake: toaster: tables SelectPackagesTable rename recipe_id to custrecipeid
Rename the recipe_id to custrecipeid to avoid confusion about which type of object we're going to be accessing. This means that in the unit tests for tables we can pass a different kwargs for custom recipes vs normal recipes. (Bitbake rev: ae3301a1047b3efb4b340b50a10d5d585b7333da) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7e4c231ca2
commit
70a078ee85
@@ -129,11 +129,11 @@ urlpatterns = patterns('toastergui.views',
|
||||
name=tables.LayerMachinesTable.__name__.lower()),
|
||||
|
||||
|
||||
url(r'^project/(?P<pid>\d+)/customrecipe/(?P<recipeid>\d+)/selectpackages/$',
|
||||
url(r'^project/(?P<pid>\d+)/customrecipe/(?P<custrecipeid>\d+)/selectpackages/$',
|
||||
tables.SelectPackagesTable.as_view(), name="recipeselectpackages"),
|
||||
|
||||
|
||||
url(r'^project/(?P<pid>\d+)/customrecipe/(?P<recipe_id>\d+)$',
|
||||
url(r'^project/(?P<pid>\d+)/customrecipe/(?P<custrecipeid>\d+)$',
|
||||
tables.SelectPackagesTable.as_view(template_name="customrecipe.html"),
|
||||
name="customrecipe"),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user