diff options
author | Mark D. Roth <roth@google.com> | 2016-12-01 13:08:05 -0800 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-12-01 13:08:05 -0800 |
commit | 0fc334fcfa4ce5a16d37e9959976de3472ba6ab4 (patch) | |
tree | 0a9c945f7d5d69aea5f3338fbc8318231c173bb1 /tools | |
parent | f4316427477a1ba9de069f572f748e23b7a0d570 (diff) |
Python sucks.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run_tests/jobset.py | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/tools/run_tests/jobset.py b/tools/run_tests/jobset.py index b7b8c79834..d4a43f93db 100755 --- a/tools/run_tests/jobset.py +++ b/tools/run_tests/jobset.py @@ -52,10 +52,22 @@ _MAX_RESULT_SIZE = 8192 def sanitized_environment(env): sanitized = {} for key, value in env.items(): - print "type(key)=%s, key='%s'" % (type(key), key) - print "type(value)=%s, value='%s'" % (type(value), value) - print "key.encode(errors='ignore'): type()=%s, key=%s" % (type(key.encode(errors='ignore')), key.encode(errors='ignore')) - print "value.encode(errors='ignore'): type()=%s, value=%s" % (type(value.encode(errors='ignore')), value.encode(errors='ignore')) + print "type(key)=" + print type(key) + print "key=" + print key + print "type(value)=" + print type(value) + print "value=" + print value + print "type(key.encode(errors='ignore'))=" + print type(key.encode(errors='ignore')) + print "key.encode(errors='ignore')=" + print key.encode(errors='ignore') + print "type(value.encode(errors='ignore'))=" + print type(value.encode(errors='ignore')) + print "value.encode(errors='ignore')=" + print value.encode(errors='ignore') sanitized[key.encode(errors='ignore')] = value.encode(errors='ignore') return sanitized |