Browse Source

minor pylint score fix

Dimitri Korsch 3 năm trước cách đây
mục cha
commit
6c32f76f05
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      pycs/util/PipelineCache.py

+ 2 - 2
pycs/util/PipelineCache.py

@@ -1,11 +1,12 @@
 import queue
 import warnings
-import eventlet
 
 from threading import Lock
 from time import sleep
 from time import time
 
+import eventlet
+
 from eventlet import spawn_n
 from eventlet import tpool
 
@@ -112,7 +113,6 @@ class PipelineCache:
                     break
                 except queue.Empty:
                     eventlet.sleep(0.2)
-                    pass
 
             if entry is None:
                 # closing pipeline cache