buildtools/wafsamba: reduce imports
authorAlexander Bokovoy <ab@samba.org>
Fri, 15 Jun 2018 13:17:14 +0000 (16:17 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 5 Sep 2018 04:37:25 +0000 (06:37 +0200)
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
buildtools/wafsamba/samba3.py

index 786d6a65c7c5e9a12f78acfcf76733fb368c0eed..5375679c88fc077ae967e8d31898227e33fdbf28 100644 (file)
@@ -3,10 +3,10 @@
 
 import os
 from waflib import Options, Build
-from samba_utils import os_path_relpath, TO_LIST, samba_add_onoff_option
+from samba_utils import os_path_relpath, TO_LIST
 from samba_autoconf import library_flags
 
-Options.OptionsContext.SAMBA3_ADD_OPTION = samba_add_onoff_option
+Options.OptionsContext.SAMBA3_ADD_OPTION = Options.OptionsContext.samba_add_onoff_option
 
 def SAMBA3_IS_STATIC_MODULE(bld, module):
     '''Check whether module is in static list'''