summaryrefslogtreecommitdiff
path: root/python/samba/tests/libsmb.py
diff options
context:
space:
mode:
authorTim Beale <timbeale@catalyst.net.nz>2019-01-09 10:15:49 +1300
committerStefan Metzmacher <metze@samba.org>2019-01-09 14:30:31 +0100
commita9def5c6971fa1dea3aaa2da0e5dfd9246dd0c87 (patch)
treeac7c50258612c4a7bde571f8c3f3f29a9ae822e3 /python/samba/tests/libsmb.py
parent84069c8a5476a47d45ab946d82abb0d6c04635c3 (diff)
downloadsamba-a9def5c6971fa1dea3aaa2da0e5dfd9246dd0c87.tar.gz
s3:libsmb: Revert SMB Py bindings name back to libsmb_samba_internal
In order to make it clear that the APIs in these Python bindings are unstable and should not be used by external consumers, this patch changes the name of the Python bindings back to libsmb_samba_internal. To make the Python code that uses these bindings (i.e. samba-tool, etc) look a little cleaner, we can just change the module name as we import it, e.g. from samba.samba3 import libsmb_samba_internal as libsmb Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Jan 9 14:30:31 CET 2019 on sn-devel-144
Diffstat (limited to 'python/samba/tests/libsmb.py')
-rw-r--r--python/samba/tests/libsmb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/tests/libsmb.py b/python/samba/tests/libsmb.py
index 5a37b09978b..e8f8e7fe94d 100644
--- a/python/samba/tests/libsmb.py
+++ b/python/samba/tests/libsmb.py
@@ -17,7 +17,7 @@
"""Tests for samba.samba3.libsmb."""
-from samba.samba3 import libsmb
+from samba.samba3 import libsmb_samba_internal as libsmb
from samba.dcerpc import security
from samba.samba3 import param as s3param
from samba import credentials