Browse Source

fix imports

Bastien Sevajol (Algoo) 8 years ago
parent
commit
6bc5d2d4dd
2 changed files with 3 additions and 3 deletions
  1. 2 2
      tracim/tracim/lib/daemons.py
  2. 1 1
      tracim/tracim/lib/email.py

+ 2 - 2
tracim/tracim/lib/daemons.py View File

18
 from tracim.lib.base import logger
18
 from tracim.lib.base import logger
19
 from tracim.lib.exceptions import AlreadyRunningDaemon
19
 from tracim.lib.exceptions import AlreadyRunningDaemon
20
 
20
 
21
-from tracim.tracim.lib.utils import get_rq_queue
21
+from tracim.lib.utils import get_rq_queue
22
 
22
 
23
 
23
 
24
 class DaemonsManager(object):
24
 class DaemonsManager(object):
163
         pass
163
         pass
164
 
164
 
165
     def stop(self) -> None:
165
     def stop(self) -> None:
166
-        # When _stop_requested at False, tracim.tracim.lib.daemons.RQWorker
166
+        # When _stop_requested at False, tracim.lib.daemons.RQWorker
167
         # will raise StopRequested exception in worker thread after receive a
167
         # will raise StopRequested exception in worker thread after receive a
168
         # job.
168
         # job.
169
         self.worker._stop_requested = True
169
         self.worker._stop_requested = True

+ 1 - 1
tracim/tracim/lib/email.py View File

11
 from tracim.lib.base import logger
11
 from tracim.lib.base import logger
12
 from tracim.model import User
12
 from tracim.model import User
13
 
13
 
14
-from tracim.tracim.lib.utils import get_rq_queue
14
+from tracim.lib.utils import get_rq_queue
15
 
15
 
16
 
16
 
17
 def send_email_through(
17
 def send_email_through(