File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,11 @@ def parse_fpg(filename):
6060 # some versions of mlib_devel may mistakenly have put spaces
6161 # as delimiters where tabs should have been used. Rectify that
6262 # here.
63+ if line .startswith ('?meta ' ):
64+ LOGGER .warn ('An old version of mlib_devel generated %s. Please '
65+ 'update. Meta fields are seperated by spaces, '
66+ 'should be tabs.' % filename )
6367 line = line .replace (' ' , '\t ' )
64- LOGGER .warn ('An old version of mlib_devel generated %s. Please '
65- 'update.' % filename )
6668 # and carry on as usual.
6769 line = line .replace ('\_' , ' ' ).replace ('?meta' , '' )
6870 line = line .replace ('\n ' , '' ).lstrip ().rstrip ()
@@ -324,7 +326,7 @@ def jobfunc(resultq, fpga):
324326 thread_list = []
325327 for fpga_ in fpga_list :
326328 thread = threading .Thread (target = jobfunc , args = (result_queue , fpga_ ))
327- thread .daemon = True
329+ thread .setDaemon ( True )
328330 thread .start ()
329331 thread_list .append (thread )
330332 for thread_ in thread_list :
You can’t perform that action at this time.
0 commit comments