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

AccessDenied not properly building error message string if PID == 0 #124

Closed
giampaolo opened this issue May 23, 2014 · 2 comments
Closed
Assignees

Comments

@giampaolo
Copy link
Owner

From jlo...@gmail.com on October 28, 2010 00:49:20

What steps will reproduce the problem?  
1. raise an AccessDenied exception for process with PID 0 

What is the expected output?  


What do you see instead?  
AccessDenied.msg  is blank instead of building an error message string 
appropriately. Caused by logic in the class that was checking "if pid" instead 
of "if pid is not None". Fixed in r744

Original issue: http://code.google.com/p/psutil/issues/detail?id=124

@giampaolo giampaolo self-assigned this May 23, 2014
@giampaolo
Copy link
Owner Author

From g.rodola on June 09, 2011 15:33:51

Labels: -OpSys-All

@giampaolo
Copy link
Owner Author

From g.rodola on March 02, 2013 03:55:51

Updated csets after the SVN -> Mercurial migration: r744 == revision 
ff4582c59b04

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

No branches or pull requests

1 participant