Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(897)

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/message_pool.py

Issue 1847613002: Remove unused imports in webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (C) 2011 Google Inc. All rights reserved. 1 # Copyright (C) 2011 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 27 matching lines...) Expand all
38 If you don't need these features, use multiprocessing.Pool or concurrency.future s 38 If you don't need these features, use multiprocessing.Pool or concurrency.future s
39 intead. 39 intead.
40 40
41 """ 41 """
42 42
43 import cPickle 43 import cPickle
44 import logging 44 import logging
45 import multiprocessing 45 import multiprocessing
46 import Queue 46 import Queue
47 import sys 47 import sys
48 import time
49 import traceback 48 import traceback
50 49
51 50
52 from webkitpy.common.host import Host 51 from webkitpy.common.host import Host
53 from webkitpy.common.system import stack_utils 52 from webkitpy.common.system import stack_utils
54 53
55 54
56 _log = logging.getLogger(__name__) 55 _log = logging.getLogger(__name__)
57 56
58 57
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 316
318 317
319 class _WorkerLogHandler(logging.Handler): 318 class _WorkerLogHandler(logging.Handler):
320 def __init__(self, worker): 319 def __init__(self, worker):
321 logging.Handler.__init__(self) 320 logging.Handler.__init__(self)
322 self._worker = worker 321 self._worker = worker
323 self.setLevel(worker.log_level) 322 self.setLevel(worker.log_level)
324 323
325 def emit(self, record): 324 def emit(self, record):
326 self._worker.log_messages.append(record) 325 self._worker.log_messages.append(record)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698