Ejemplo n.º 1
0
 def outputByMysql(self, articles):
     try:
         service = MysqlService(self.log)
         service.setArticles(articles)
         return True
     except Exception as e:
         self.log.printError("outputByMysql error: '%s'" %(e))
         return False