Skip to content

Commit

Permalink
Fixing return value of method
Browse files Browse the repository at this point in the history
  • Loading branch information
dthaluru committed Jun 4, 2015
1 parent a5e4be9 commit ee7829e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions support/package-builder/PackageManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,14 @@ def buildGivenPackages (self, listPackages):
if setFailFlag:
self.logger.error("Some of the packages failed:")
self.logger.error(Scheduler.listOfFailedPackages)
return False

if not setFailFlag:
if allPackagesBuilt:
self.logger.info("All packages built successfully")
else:
self.logger.error("Build stopped unexpectedly.Unknown error.")
return False

self.logger.info("Terminated")
return True

0 comments on commit ee7829e

Please sign in to comment.