mirror of
https://github.com/samba-team/samba.git
synced 2025-07-23 20:59:10 +03:00
python: Port tests of samba.messaging to Python 3 compatible form.
Signed-off-by: Lumir Balhar <lbalhar@redhat.com> Reviewed-by: Andrew Bartlet <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Oct 23 15:40:48 CEST 2017 on sn-devel-144
This commit is contained in:
committed by
Andreas Schneider
parent
806c1bcacd
commit
e583a926eb
@ -20,3 +20,8 @@
|
||||
import sys
|
||||
|
||||
PY3 = sys.version_info[0] == 3
|
||||
|
||||
if PY3:
|
||||
integer_types = int,
|
||||
else:
|
||||
integer_types = (int, long)
|
||||
|
Reference in New Issue
Block a user