def write(self, writables): lst = [] for w in writables: if w is not None: output = w.getOutput() if output: lst.append(output) dvr.post(self.dvr, '\t'.join(lst) + '\n')
def write(self, writables): lst = [] for w in writables: if (None != w): output = w.getOutput() if None != output and '' != output: lst.append(output) dvr.post(self.dvr, '\t'.join(lst)+'\n')
def write(self, writables): lst = [] for w in writables: if None != w: output = w.getOutput() if None != output and "" != output: lst.append(output) dvr.post(self.dvr, "\t".join(lst) + "\n")