mirror of https://github.com/mahmoud/boltons.git
cacheutils: pull RLock from the right place for python 2
This commit is contained in:
parent
81056539b1
commit
86cff8096d
|
@ -39,7 +39,7 @@ import itertools
|
|||
from collections import deque
|
||||
|
||||
try:
|
||||
from _thread import RLock
|
||||
from threading import RLock
|
||||
except:
|
||||
class RLock(object):
|
||||
'Dummy reentrant lock for builds without threads'
|
||||
|
|
Loading…
Reference in New Issue