def	pbar_callback(self, param, current, total):
		if (self.pbar==None):
			widgets = [ unicode(self.pbarfname, errors='ignore').encode('utf-8'), ' ', progressbar.FileTransferSpeed(), ' [', progressbar.Bar(), '] ', progressbar.Percentage(), ' ', progressbar.ETA() ]
			self.pbar = progressbar.ProgressBar( widgets=widgets, maxval=total ).start()
		try:
			self.pbar.update(current)
		except __HOLE__, e:
			print e
			print "!"
dataset/ETHPy150Open wylieswanson/AgileCLU/AgileCLU/__init__.py/AgileCLU.pbar_callback