Skip to content

Commit

Permalink
Linter fixes.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 457864932
  • Loading branch information
dlott authored and copybara-github committed Jun 29, 2022
1 parent b83b46c commit 1e1fa4e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions perfkitbenchmarker/background_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@


import abc
from collections import deque
import collections
from concurrent import futures
import ctypes
import functools
import logging
Expand All @@ -62,11 +63,10 @@
import threading
import time
import traceback
from concurrent import futures

from absl import flags
from perfkitbenchmarker import context
from perfkitbenchmarker import errors
from absl import flags
from perfkitbenchmarker import log_util
import six
from six.moves import queue
Expand Down Expand Up @@ -157,7 +157,7 @@ class _SingleReaderQueue(object):
"""

def __init__(self):
self._deque = deque()
self._deque = collections.deque()

def Get(self, timeout=None):
if not _WaitForCondition(lambda: self._deque, timeout):
Expand All @@ -177,7 +177,7 @@ class _NonPollingSingleReaderQueue(object):
"""

def __init__(self):
self._deque = deque()
self._deque = collections.deque()
self._lock = threading.Lock()
self._lock.acquire()

Expand Down

0 comments on commit 1e1fa4e

Please sign in to comment.