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 sys |
22 import sys |
18 import multiprocessing |
23 import multiprocessing |
19 import queue |
|
20 |
24 |
21 |
25 |
22 def initService(): |
26 def initService(): |
23 """ |
27 """ |
24 Initialize the service and return the entry point. |
28 Initialize the service and return the entry point. |