1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00

python: samba.tests: Move import of ported modules out of PY3 condition

Signed-off-by: Lumir Balhar <lbalhar@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
Lumir Balhar
2017-01-02 08:52:29 +01:00
committed by Andrew Bartlett
parent e9a464911c
commit afe1e830de

View File

@ -30,14 +30,14 @@ import subprocess
import sys
import tempfile
import unittest
import samba.auth
import samba.dcerpc.base
from samba.compat import PY3
if not PY3:
# Py2 only
import samba.auth
from samba.samdb import SamDB
import samba.ndr
import samba.dcerpc.dcerpc
import samba.dcerpc.base
import samba.dcerpc.epmapper
from samba import gensec