waf: fixed tabs/spaces for python3.0
authorAndrew Tridgell <tridge@samba.org>
Mon, 8 Nov 2010 00:11:32 +0000 (11:11 +1100)
committerAndrew Tridgell <tridge@samba.org>
Mon, 8 Nov 2010 00:55:13 +0000 (00:55 +0000)
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Nov  8 00:55:13 UTC 2010 on sn-devel-104

buildtools/wafsamba/samba_deps.py
buildtools/wafsamba/samba_optimisation.py

index 60f2fa98cda613f2ca108539fb8b59046d0ed334..91737d587357c5dd595e048880259e4e3625e64a 100644 (file)
@@ -255,7 +255,7 @@ def check_duplicate_sources(bld, tgt_list):
     for t in tgt_list:
         source_list = TO_LIST(getattr(t, 'source', ''))
         tpath = os.path.normpath(os_path_relpath(t.path.abspath(bld.env), t.env.BUILD_DIRECTORY + '/default'))
-       obj_sources = set()
+        obj_sources = set()
         for s in source_list:
             p = os.path.normpath(os.path.join(tpath, s))
             if p in obj_sources:
index ad0534834f3ab1f44d68f4c47ef6f56d5615aea1..951fd4c1f6194ae5f80bc779f1cb2e4a7e9cd3f4 100644 (file)
@@ -154,12 +154,12 @@ def suncc_wrap(cls):
        which have empty libs'''
        if getattr(cls, 'solaris_wrap', False):
                return
-        cls.solaris_wrap = True
-        oldrun = cls.run
-        def run(self):
+       cls.solaris_wrap = True
+       oldrun = cls.run
+       def run(self):
                if self.env.CC_NAME == "sun" and not self.inputs:
                        self.env = self.env.copy()
                        self.env.append_value('LINKFLAGS', '-')
                return oldrun(self)
-        cls.run = run
+       cls.run = run
 suncc_wrap(Task.TaskBase.classes['cc_link'])