Пример #1
0
	def __init__(self):
		self.lock = Lock()
		self.list = []

		retr = DCHublistRetriever()
		retr.registerListener(self)
		self.lock.acquire()
		DCWorker.getWorker().addJob(retr)
Пример #2
0
	def onRefresh(self, event):
		retriever = DCHublistRetriever()
		retriever.registerListener(self)
		DCWorker.getWorker().addJob(retriever)