Skip to content

Commit

Permalink
wscript: Remove unused imports
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
  • Loading branch information
jsutton24 authored and abartlet committed Aug 30, 2023
1 parent c6d0323 commit 8f43049
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,6 @@ def configure(conf):

def etags(ctx):
'''build TAGS file using etags'''
from waflib import Utils
source_root = os.path.dirname(Context.g_module.root_path)
cmd = r'rm -f %s/TAGS && (find %s -name "*.[ch]" | egrep -v \.inst\. | xargs -n 100 etags -a)' % (source_root, source_root)
print("Running: %s" % cmd)
Expand All @@ -462,7 +461,6 @@ def etags(ctx):

def ctags(ctx):
"build 'tags' file using ctags"
from waflib import Utils
source_root = os.path.dirname(Context.g_module.root_path)
cmd = r'ctags --python-kinds=-i $(find %s -name "*.[ch]" | grep -v "*_proto\.h" | egrep -v \.inst\.) $(find %s -name "*.py")' % (source_root, source_root)
print("Running: %s" % cmd)
Expand Down Expand Up @@ -531,7 +529,6 @@ Scripting.main = main

def reconfigure(ctx):
'''reconfigure if config scripts have changed'''
import samba_utils
samba_utils.reconfigure(ctx)


Expand Down
2 changes: 0 additions & 2 deletions wscript_build
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

# top level waf build script for samba4

from waflib import Options
import os
srcdir = "."

import samba_version
Expand Down
1 change: 0 additions & 1 deletion wscript_configure_system_gnutls
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from waflib import Logs
import os

def parse_version(v):
Expand Down
3 changes: 0 additions & 3 deletions wscript_configure_system_heimdal
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import sys
from waflib import Logs

conf.RECURSE('third_party/heimdal_build')

heimdal_includedirs = []
Expand Down

0 comments on commit 8f43049

Please sign in to comment.