projects
/
platform
/
core
/
security
/
yaca.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b3c32e
)
Fix pycodestyle issue
77/181877/1
author
Lukasz Pawelczyk
<l.pawelczyk@samsung.com>
Mon, 18 Jun 2018 11:41:52 +0000
(13:41 +0200)
committer
Lukasz Pawelczyk
<l.pawelczyk@samsung.com>
Mon, 18 Jun 2018 11:51:47 +0000
(13:51 +0200)
pycodestyle: E741 ambiguous variable name 'l'
Change-Id: Id70e425e51da8bcd10afd579080d20b2cc9c9d4c
python/yaca/__init__.py
patch
|
blob
|
history
diff --git
a/python/yaca/__init__.py
b/python/yaca/__init__.py
index ab0e283bedab09f1dc5051ff9d5ccb46fbe9098b..3efd0bd8459f1fd299512c3edd3b2b48bd15f489 100755
(executable)
--- a/
python/yaca/__init__.py
+++ b/
python/yaca/__init__.py
@@
-255,8
+255,8
@@
def cleanup():
def memcmp(first, second, length):
"""Safely compares first length bytes of two buffers."""
- l = _ctypes.c_size_t(length)
- return _lib.yaca_memcmp(first, second, l)
+ l
ength
= _ctypes.c_size_t(length)
+ return _lib.yaca_memcmp(first, second, l
ength
)
def random_bytes(length):