mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee
This commit is contained in:
parent
c5f7c9ccf3
commit
e891345f26
1328 changed files with 36632 additions and 20588 deletions
|
@ -32,7 +32,10 @@ def setup_logging(prefix=False):
|
|||
if logger is None:
|
||||
logger = logging.getLogger(os.path.basename(os.path.splitext(__file__)[0]))
|
||||
handler = logging.StreamHandler(sys.stdout)
|
||||
logger.addHandler(handler)
|
||||
# Only add a handler if the parent logger is missing a handler
|
||||
if logger.parent and len(logger.parent.handlers) == 0:
|
||||
handler = logging.StreamHandler(sys.stdout)
|
||||
logger.addHandler(handler)
|
||||
if prefix:
|
||||
format = logging.BASIC_FORMAT
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue