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:
committed by
Andrew Bartlett
parent
e9a464911c
commit
afe1e830de
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user