def update(self, phase, percent, reqByteRate, actualByteRate):
    phaseName = self.phaseNames[phase]
    self.text['text'] = (OTPLocalizer.DownloadWatcherUpdate % phaseName)
    self.bar['text'] = ('%s %%' % percent)
    self.bar['value'] = percent
def update(self, phase, percent, reqByteRate, actualByteRate):
    phaseName = self.phaseNames[phase]
    self.text['text'] = (OTPLocalizer.DownloadWatcherUpdate % phaseName)
    self.bar['text'] = ('%s %%' % percent)
    self.bar['value'] = percent