コード例 #1
0
 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')
コード例 #2
0
	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')
コード例 #3
0
ファイル: DVRwriter.py プロジェクト: YanjieGao/ExperimentBase
    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")