Explorar el Código

minor pylint score fix

Dimitri Korsch hace 3 años
padre
commit
6c32f76f05
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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