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

fix/psutil update #64

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

flavioamieiro
Copy link
Member

This code was broken when saving monitoring information on pypln.backend because we were passing to the MongoStore a bound method. Even if the Store code didn't break with that, we would not have the information we needed. This small patch fixes this issue.

I could not run the tests because they hang indefinitely, so I'm trusting this didn't break them =)

@turicas can you take a look and, if ok, merge and publish a new package?

As described in http://grodola.blogspot.com.br/2014/01/psutil-20-porting.html
some process properties are now methods, thus `create_time` (a bound method)
was being passed to the store to be saved, not the information you would get by
calling it.
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.

1 participant