RadonMetrics/CyclomaticComplexityCalculator.py

changeset 47
fa1024e1dfc9
parent 45
0f2eabfd5834
child 49
ab84f5a5edd8
equal deleted inserted replaced
46:df1b6370965a 47:fa1024e1dfc9
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.

eric ide

mercurial