diff options
| author | Mats Wichmann <mats@linux.com> | 2018-08-26 15:10:58 (GMT) |
|---|---|---|
| committer | Mats Wichmann <mats@linux.com> | 2018-10-03 18:44:45 (GMT) |
| commit | 6bb0f67833cd198253dcf94342da7e792aaf9a55 (patch) | |
| tree | 4b88fa5c963dee6cf9ba33eabaa3f53e937f8086 /test/Java/java_version_image/src6 | |
| parent | ab7b1758d760159db1665059f464517d039ac6a4 (diff) | |
| download | SCons-6bb0f67833cd198253dcf94342da7e792aaf9a55.zip SCons-6bb0f67833cd198253dcf94342da7e792aaf9a55.tar.gz SCons-6bb0f67833cd198253dcf94342da7e792aaf9a55.tar.bz2 | |
A few syntax cleanups
Suggested by PyCharm. Includes three "real" changes:
1. src/engine/SCons/Node/__init__.py has a print statement in a function
which references 'self', but there is no 'self' defined (it is not
a method in a class). Guessing it should have been 'node'.
2. src/engine/SCons/Environment.py makes a call using 'kwbd' which is not
defined, looks like a copy-paste error and should be 'bd'.
3. src/engine/SCons/Tool/JavaCommon.py splits 'file', which is not
defined, was evidently supposed to be 'fn'.
These should be double-checked.
The rest are purely syntax: whitespace, dropping trailing semicolons,
using "is" to test for None, simplifying comparisons, normalizing
docstring commenting ("always triple double quotes"), unneeded
backslashes.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/Java/java_version_image/src6')
0 files changed, 0 insertions, 0 deletions
