diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-12-08 19:52:42 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-10 13:29:19 +0000 |
commit | 70a078ee851b0408b68ddc13fbc7fbb658ce38df (patch) | |
tree | 4a4d24b60ad3b30054982c5842ffd3ac830cc849 /bitbake/lib/toaster/toastergui/urls.py | |
parent | 7e4c231ca2a1a2dbc905945ba8bab0476c109bbb (diff) | |
download | poky-70a078ee851b0408b68ddc13fbc7fbb658ce38df.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/urls.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index 969a29b228..4feeebc14a 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py | |||
@@ -129,11 +129,11 @@ urlpatterns = patterns('toastergui.views', | |||
129 | name=tables.LayerMachinesTable.__name__.lower()), | 129 | name=tables.LayerMachinesTable.__name__.lower()), |
130 | 130 | ||
131 | 131 | ||
132 | url(r'^project/(?P<pid>\d+)/customrecipe/(?P<recipeid>\d+)/selectpackages/$', | 132 | url(r'^project/(?P<pid>\d+)/customrecipe/(?P<custrecipeid>\d+)/selectpackages/$', |
133 | tables.SelectPackagesTable.as_view(), name="recipeselectpackages"), | 133 | tables.SelectPackagesTable.as_view(), name="recipeselectpackages"), |
134 | 134 | ||
135 | 135 | ||
136 | url(r'^project/(?P<pid>\d+)/customrecipe/(?P<recipe_id>\d+)$', | 136 | url(r'^project/(?P<pid>\d+)/customrecipe/(?P<custrecipeid>\d+)$', |
137 | tables.SelectPackagesTable.as_view(template_name="customrecipe.html"), | 137 | tables.SelectPackagesTable.as_view(template_name="customrecipe.html"), |
138 | name="customrecipe"), | 138 | name="customrecipe"), |
139 | 139 | ||