diff options
author | Dylan Baker <[email protected]> | 2017-02-17 11:06:22 -0800 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2017-03-22 16:22:00 -0700 |
commit | 08a6d3b4ba8bc50c9b3ba927d023354db6b075b1 (patch) | |
tree | a3de9027f7c1838c58a5e3fba65f9de1a994358c /src/egl/Makefile.sources | |
parent | abd72f2e3568c5fca3abdc4f6caca7ceee745afb (diff) |
anv: Use python style in anv_entrypoints_gen.py
These are all fairly small cleanups/tweaks that don't really deserve
their own patch.
- Prefer comprehensions to map() and filter(), since they're faster
- replace unused variables with _
- Use 4 spaces of indent
- drop semicolons from the end of lines
- Don't use parens around if conditions
- don't put spaces around brackets
- don't import modules as caps (ET -> et)
- Use docstrings instead of comments
v2: - Replace comprehensions with multiplication
Signed-off-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/egl/Makefile.sources')
0 files changed, 0 insertions, 0 deletions