Example #1
0
 def _parse_lines(self, lines):
     out = []
     for line in lines2cli(lines):
         if line is not None:
             tmp = self._parse(line.strip())
             self.assertNotEqual(tmp, False)
             if tmp is not None:
                 out.append(tmp)
     return out
Example #2
0
 def _parse_lines(self, lines):
     out = []
     for line in lines2cli(lines):
         if line is not None:
             tmp = self._parse(line.strip())
             self.assertNotEqual(tmp, False)
             if tmp is not None:
                 out.append(tmp)
     return out