12 try: |
12 try: |
13 str = unicode # __IGNORE_EXCEPTION__ __IGNORE_WARNING__ |
13 str = unicode # __IGNORE_EXCEPTION__ __IGNORE_WARNING__ |
14 except NameError: |
14 except NameError: |
15 pass |
15 pass |
16 |
16 |
|
17 try: |
|
18 import Queue as queue # Py2 |
|
19 except ImportError: |
|
20 import queue |
|
21 |
17 import multiprocessing |
22 import multiprocessing |
18 import queue |
|
19 |
23 |
20 |
24 |
21 def initService(): |
25 def initService(): |
22 """ |
26 """ |
23 Initialize the service and return the entry point. |
27 Initialize the service and return the entry point. |