Commit 4f806e8e authored by Antoine Millet's avatar Antoine Millet
Browse files

Lock of connected client is now Lock instead of RLock.

parent 862cc544
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
Local client representation classes.
'''

from threading import RLock
from threading import Lock
from datetime import datetime

class CCClient(object):
@@ -34,7 +34,7 @@ class CCClient(object):
        self._last_action = datetime.now()

        # Jobs lock for this client:
        self.lock = RLock()
        self.lock = Lock()

    def get_uptime(self):
        '''