Skip to content

Call the callback one last time.#51

Merged
savon-noir merged 3 commits into
savon-noir:masterfrom
klondi:master
Mar 3, 2015
Merged

Call the callback one last time.#51
savon-noir merged 3 commits into
savon-noir:masterfrom
klondi:master

Conversation

@klondi
Copy link
Copy Markdown
Contributor

@klondi klondi commented Mar 3, 2015

The status is updated way after the event handler is called, also any output remaining on the queue will be processed without calling the callback. This prevents such
conditions which amongst other things allows to have callbacks like this:

def mycallback(nm):
if (nm.has_terminated()):
print ("Done!")

klondi added 3 commits March 3, 2015 13:16
The status is updated way after the event handler is called, also any output remaining on the queue will be processed without calling the callback. This prevents such
conditions which amongst other things allows to have callbacks like this:

def mycallback(nm):
    if (nm.has_terminated()):
        print ("Done!")
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.07%) to 67.87% when pulling c79c8b0 on klondi:master into 4b0dd0a on savon-noir:master.

@savon-noir
Copy link
Copy Markdown
Owner

could you please rebase and reissue your pull request? thanks!

@klondi
Copy link
Copy Markdown
Contributor Author

klondi commented Mar 3, 2015

Strange, this branch is based against the last one on github so there are no changes to rebase on. Did you push any changes you want me to rebase on?

$ git fetch gupstream
$ git rebase gupstream/master master
Previous HEAD position was 4b0dd0a... updated package for v0.6.2
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
Current branch master is up to date.
$ git push
Everything up-to-date

savon-noir added a commit that referenced this pull request Mar 3, 2015
Call the callback one last time.
@savon-noir savon-noir merged commit 5ef8564 into savon-noir:master Mar 3, 2015
@savon-noir
Copy link
Copy Markdown
Owner

ok, looks good. Thanks for your contribution, pull reqs are always welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants