]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python/tests/gpo: import what we need (errno, not gp_log)
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 11 Oct 2018 00:47:22 +0000 (13:47 +1300)
committerNoel Power <npower@samba.org>
Thu, 25 Oct 2018 19:45:52 +0000 (21:45 +0200)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
python/samba/tests/gpo.py

index 6cb0edfb5f624f28108973567581f2fe5af68523..84e59edb9d68c1cf6582ab975e19ab5c8056fc88 100644 (file)
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 import os
+import errno
 from samba import gpo, tests
 from samba.gpclass import register_gp_extension, list_gp_extensions, \
-    unregister_gp_extension, gp_log, GPOStorage
+    unregister_gp_extension, GPOStorage
 from samba.param import LoadParm
 from samba.gpclass import check_refresh_gpo_list, check_safe_path, \
     check_guid, parse_gpext_conf, atomic_write_conf, get_deleted_gpos_list