From 5fe1c196445d7719474f9b5214817bd00591929b Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Mon, 10 Aug 2015 18:27:17 +0100 Subject: 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 Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/tests.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/tests.py') diff --git a/bitbake/lib/toaster/toastergui/tests.py b/bitbake/lib/toaster/toastergui/tests.py index d15584955d..bc108010bf 100644 --- a/bitbake/lib/toaster/toastergui/tests.py +++ b/bitbake/lib/toaster/toastergui/tests.py @@ -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 -- cgit v1.2.3-54-g00ecf