Skip to content
Snippets Groups Projects
Commit 1c2040d9 authored by Alwin de Jong's avatar Alwin de Jong
Browse files

Task #3772: separate pulp class construction from execution. __init__ cannot have return value

parent c8f30135
No related branches found
No related tags found
No related merge requests found
...@@ -167,8 +167,9 @@ class pulsar_pipeline(control): ...@@ -167,8 +167,9 @@ class pulsar_pipeline(control):
# Run the pulsar pipeline # Run the pulsar pipeline
self.logger.debug("Starting pulp with: " + join(sys.argv)) self.logger.debug("Starting pulp with: " + join(sys.argv))
return pulp.pulp(self) p = pulp.pulp(self)
return p.go()
if __name__ == '__main__': if __name__ == '__main__':
sys.exit(pulsar_pipeline().main()) sys.exit(pulsar_pipeline().main())
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment