Attempt to fix syntax error in debugging lines.

reviewable/pr8782/r3
Mark D. Roth 8 years ago
parent 1e6b02b43d
commit f431642747
  1. 8
      tools/run_tests/jobset.py

@ -52,10 +52,10 @@ _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)=%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'))
sanitized[key.encode(errors='ignore')] = value.encode(errors='ignore')
return sanitized

Loading…
Cancel
Save