summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-02-27 10:43:40 +0000
committerEric Engestrom <[email protected]>2019-03-01 11:20:28 +0000
commit258e463db5b8e8df1507dce7012423a5dd1a0260 (patch)
tree6038b47c9d8259473a5eb04c6586df291ad5e983 /src
parent7b704fd2fdf38d4ba50d40e6d95f991ddfd66186 (diff)
anv: remove spaces around kwargs assignment
pylint complains: > C0326: No space allowed around keyword argument assignment Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/intel/vulkan/anv_entrypoints_gen.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/intel/vulkan/anv_entrypoints_gen.py b/src/intel/vulkan/anv_entrypoints_gen.py
index 1c38a19170c..5f53501b35b 100644
--- a/src/intel/vulkan/anv_entrypoints_gen.py
+++ b/src/intel/vulkan/anv_entrypoints_gen.py
@@ -496,7 +496,7 @@ class EntrypointBase(object):
self.extensions = []
class Entrypoint(EntrypointBase):
- def __init__(self, name, return_type, params, guard = None):
+ def __init__(self, name, return_type, params, guard=None):
super(Entrypoint, self).__init__(name)
self.return_type = return_type
self.params = params
@@ -539,9 +539,9 @@ def get_entrypoints(doc, entrypoints_to_defines):
name = command.find('./proto/name').text
ret_type = command.find('./proto/type').text
params = [EntrypointParam(
- type = p.find('./type').text,
- name = p.find('./name').text,
- decl = ''.join(p.itertext())
+ type=p.find('./type').text,
+ name=p.find('./name').text,
+ decl=''.join(p.itertext())
) for p in command.findall('./param')]
guard = entrypoints_to_defines.get(name)
# They really need to be unique