pidl/wscript: update to handle waf 2.0.4
authorAlexander Bokovoy <ab@samba.org>
Fri, 2 Feb 2018 14:34:31 +0000 (16:34 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 5 Sep 2018 04:37:23 +0000 (06:37 +0200)
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
pidl/wscript

index b9607a95bda1d347148e3c5efd1bb218bbdca5f6..39816112133db9e58eb7622bc42f47ce74bd95da 100644 (file)
@@ -1,7 +1,8 @@
 #!/usr/bin/env python
 
-import os, string, Logs
+import os, string
 from samba_utils import MODE_755
+from waflib import Logs
 
 # This function checks if a perl module is installed on the system.
 def check_system_perl_module(conf, module, version=None):
@@ -24,7 +25,7 @@ def check_system_perl_module(conf, module, version=None):
 
     return True
 
-def set_options(opt):
+def options(opt):
     return
 
 def configure(conf):