Exemple #1
0
 def printResults(self):
     logger.head("Search Results | " + self.dir + " | '" + self.key + "'")
     for key, value in self.results.iteritems():
         if not value:
             continue
         logger.item(key)
         logger.subitem(repr(value))
Exemple #2
0
 def printResult(self):
     if len(self.results) == 0:
         logger.item("No results found")
     else:
         for item in self.results:
             logger.item(item)