def run(self):
     while True:
         collector = LowesJson()
         num = job_q.get()
         print "Process " + str(self.thread_num) + " getting place: " + "%05d" % num
         s = collector.get_stores(num)
         if s != None:
             result_q.put(s)
         job_q.task_done()
	def run(self):
		while True:
			collector = LowesJson()
			num = job_q.get()
			print 'Process ' + str(self.thread_num) + ' getting place: ' + "%05d" % num
			s = collector.get_stores(num)
			if s != None:
				result_q.put(s)
			job_q.task_done()
def worker(num):
    collector = LowesJson()
    list = collector.get_stores(num)
    return list
def worker(num):
	collector = LowesJson()
	list = collector.get_stores(num)
	return list