def readPackageBuildData(self, listPackages): try: pkgBuildDataGen = PackageBuildDataGenerator( self.logName, self.logPath) self.mapCyclesToPackageList, self.mapPackageToCycle, self.sortedPackageList = pkgBuildDataGen.getPackageBuildData( listPackages) except: self.logger.error("unable to get sorted list") return False return True
def _readPackageBuildData(self, listPackages): try: pkgBuildDataGen = PackageBuildDataGenerator(self.logName, self.logPath) self.mapCyclesToPackageList, self.mapPackageToCycle, self.sortedPackageList = ( pkgBuildDataGen.getPackageBuildData(listPackages)) except Exception as e: self.logger.exception(e) self.logger.error("unable to get sorted list") return False return True