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

Conversation

@aneeshusa
Copy link
Member

aneeshusa commented Dec 13, 2016

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.


This change is Reviewable

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.
@aneeshusa
Copy link
Member Author

aneeshusa commented Dec 13, 2016

Fixes #553; r? @larsbergstrom

@larsbergstrom
Copy link
Contributor

larsbergstrom commented Dec 13, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Dec 13, 2016

📌 Commit 460370e has been approved by larsbergstrom

@bors-servo
Copy link
Contributor

bors-servo commented Dec 13, 2016

Testing commit 460370e with merge f27743a...

bors-servo added a commit that referenced this pull request Dec 13, 2016
…atible, r=larsbergstrom

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.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/554)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 13, 2016

☀️ Test successful - status-travis

@bors-servo bors-servo merged commit 460370e into servo:master Dec 13, 2016
1 of 2 checks passed
1 of 2 checks passed
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.