The unified diff between revisions [a2be3834..] and [10dab4ba..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'scan.py'

#
#
# patch "scan.py"
#  from [d3daf2933d7bc372838c052440a35228248a4f00]
#    to [3933e79c8966c423898e301b75f0bb0df18cb516]
#
============================================================
--- scan.py	d3daf2933d7bc372838c052440a35228248a4f00
+++ scan.py	3933e79c8966c423898e301b75f0bb0df18cb516
@@ -87,8 +87,9 @@ class WaitThread(threading.Thread):
 				procs = os.wait()
 				print "Processes have terminated:", procs
 			except: pass
-			import time
-			time.sleep(1)
+			# for some reason, sometimes this fails unless
+			# this check is here. A bit mysterious.
+			if time != None: time.sleep(1)

 class PluginLibrary:
 	def __init__(self, config):