http://scons.tigris.org/issues/show_bug.cgi?id=2329
authorgregnoel <gregnoel@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sat, 27 Mar 2010 07:39:52 +0000 (07:39 +0000)
committergregnoel <gregnoel@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sat, 27 Mar 2010 07:39:52 +0000 (07:39 +0000)
commit704f6e2480ef60718f1aa42c266f04afc9c79580
treefff879b4f9676a72e16c0f7b4dd969f050038b4f
parent02efb74ad7ed6cd0ed4d00acf2cea27dce6642bd
scons.tigris.org/issues/show_bug.cgi?id=2329

Applied a number of idiomatic changes.

Uses of the 'sort()' method were converted into calls of 'sorted()' when
possible and the sorted() expression was inserted into a subsequent statement
whenever that made sense.

The statement 'while 1:' was changed to 'while True:'.

Names from the 'types' module (e.g., 'types.FooType') were converted to the
equivalent build-in type (e.g., 'foo').

Comparisons between types were changed to use 'isinstance()'.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4733 fdb21ef1-2011-0410-befe-b5e4ea1792b1
102 files changed:
QMTest/TestCmd.py
QMTest/TestCommon.py
QMTest/TestSCons.py
QMTest/scons_tdb.py
QMTest/unittest.py
SConstruct
bench/bench.py
bench/env.__setitem__.py
bench/is_types.py
bin/Command.py
bin/SConsDoc.py
bin/import-test.py
bin/objcounts.py
bin/scons-diff.py
bin/scons-doc.py
bin/scons-test.py
bin/scons-unzip.py
bin/time-scons.py
bin/xmlagenda.py
doc/user/environments.in
doc/user/environments.xml
doc/user/parseflags.in
doc/user/parseflags.xml
runtest.py
src/engine/SCons/Action.py
src/engine/SCons/ActionTests.py
src/engine/SCons/BuilderTests.py
src/engine/SCons/Conftest.py
src/engine/SCons/Debug.py
src/engine/SCons/Defaults.py
src/engine/SCons/DefaultsTests.py
src/engine/SCons/Environment.py
src/engine/SCons/EnvironmentTests.py
src/engine/SCons/Job.py
src/engine/SCons/JobTests.py
src/engine/SCons/Node/FS.py
src/engine/SCons/Node/FSTests.py
src/engine/SCons/Node/NodeTests.py
src/engine/SCons/Node/__init__.py
src/engine/SCons/SConf.py
src/engine/SCons/SConfTests.py
src/engine/SCons/SConsign.py
src/engine/SCons/Scanner/CTests.py
src/engine/SCons/Scanner/Dir.py
src/engine/SCons/Scanner/DirTests.py
src/engine/SCons/Scanner/Fortran.py
src/engine/SCons/Scanner/FortranTests.py
src/engine/SCons/Scanner/IDLTests.py
src/engine/SCons/Scanner/LaTeX.py
src/engine/SCons/Scanner/LaTeXTests.py
src/engine/SCons/Scanner/ProgTests.py
src/engine/SCons/Scanner/RCTests.py
src/engine/SCons/Scanner/ScannerTests.py
src/engine/SCons/Scanner/__init__.py
src/engine/SCons/Script/Main.py
src/engine/SCons/Script/SConscript.py
src/engine/SCons/Subst.py
src/engine/SCons/SubstTests.py
src/engine/SCons/Taskmaster.py
src/engine/SCons/TaskmasterTests.py
src/engine/SCons/Tool/intelc.py
src/engine/SCons/Tool/javac.py
src/engine/SCons/Tool/msvs.py
src/engine/SCons/Tool/mwcc.py
src/engine/SCons/Util.py
src/engine/SCons/UtilTests.py
src/engine/SCons/Variables/ListVariable.py
src/engine/SCons/Variables/__init__.py
src/engine/SCons/compat/_scons_UserString.py
src/engine/SCons/compat/_scons_optparse.py
src/engine/SCons/compat/_scons_sets.py
src/engine/SCons/compat/builtins.py
src/engine/SCons/cpp.py
src/engine/SCons/dblite.py
src/script/scons-time.py
src/script/sconsign.py
src/test_interrupts.py
src/test_pychecker.py
test/ARGUMENTS.py
test/Builder-factories.py
test/Command.py
test/Copy-Action.py
test/GetBuildFailures/option-k.py
test/GetBuildFailures/parallel.py
test/GetBuildFailures/serial.py
test/Glob/Repository.py
test/Glob/VariantDir.py
test/Glob/basic.py
test/Glob/source.py
test/Glob/strings.py
test/Glob/subdir.py
test/Glob/subst.py
test/Mkdir.py
test/Scanner/generated.py
test/Scanner/no-Dir-node.py
test/TAR/TAR.py
test/TAR/TARFLAGS.py
test/ZIP/ZIP.py
test/option--C.py
test/option/help-options.py
test/packaging/convenience-functions.py
timings/SCons_Bars.py