Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CheckRevisionStep Twisted-compatible #554

Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Make CheckRevisionStep Twisted-compatible

The inlineCallbacks decorator requires that the function it wraps
(here, the run() method of CheckRevisionStep) is a generator, so that
is is able to suspend execution to require it to insert callbacks.

Make run() into a generator by yielding the Deferred return value.
  • Loading branch information
aneeshusa committed Dec 13, 2016
commit 460370e397d19f69ea6517789575d5f79c7d01d8
@@ -41,7 +41,7 @@ def run(self):
)
)

defer.returnValue(SUCCESS)
yield defer.returnValue(SUCCESS)


class ServoFactory(util.BuildFactory):
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.