directly. This allows it to be disabled by the right --warn= option.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3293
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
# globl in nest scopes and UnboundLocalErrors and the like in some
# versions (2.1) of Python.
import SCons.Platform.win32
- print SCons.Platform.win32.parallel_msg
+ return SCons.Platform.win32.parallel_msg
#
elif SCons.Util.is_List(obj):
self.func = self.spinner
elif string.find(obj, self.target_string) != -1:
- self.func = self.replace_string
- else:
+ self.func = self.replace_string else:
self.func = self.string
def write(self, s):