1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

py2/py3 enclose map with list

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Noel Power 2018-08-01 12:26:03 +01:00 committed by Andrew Bartlett
parent 0358d57db4
commit 59f69a7c21

View File

@ -16,7 +16,7 @@ abi_type_maps = {
'struct __va_list_tag *' : 'va_list'
}
version_key = lambda x: map(int, x.split("."))
version_key = lambda x: list(map(int, x.split(".")))
def normalise_signature(sig):
'''normalise a signature from gdb'''