mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
bitbake: toaster: fix pylint warning 'no space allowed'
Fixed pylint warning "No space allowed before/after bracket". (Bitbake rev: 0b0f360b3660373716189995f3d33ffbc1b21db5) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
27a483dcb3
commit
5fe1c19644
@@ -103,10 +103,10 @@ class ViewTests(TestCase):
|
||||
layers_url = reverse('xhr_layerstypeahead', args=(self.project.id,))
|
||||
prj_url = reverse('xhr_projectstypeahead')
|
||||
|
||||
urls = [ layers_url,
|
||||
prj_url,
|
||||
reverse('xhr_recipestypeahead', args=(self.project.id,)),
|
||||
reverse('xhr_machinestypeahead', args=(self.project.id,)),
|
||||
urls = [layers_url,
|
||||
prj_url,
|
||||
reverse('xhr_recipestypeahead', args=(self.project.id,)),
|
||||
reverse('xhr_machinestypeahead', args=(self.project.id,)),
|
||||
]
|
||||
|
||||
def basic_reponse_check(response, url):
|
||||
@@ -147,7 +147,7 @@ class ViewTests(TestCase):
|
||||
results = False
|
||||
|
||||
for typeing in list(string.ascii_letters):
|
||||
response = self.client.get(url, { 'search' : typeing })
|
||||
response = self.client.get(url, {'search': typeing})
|
||||
results = basic_reponse_check(response, url)
|
||||
if results:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user