end18 / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 reported on code.google.com by jlo...@gmail.com on 27 Oct 2010 at 10:49

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 9 Jun 2011 at 10:33

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Updated csets after the SVN -> Mercurial migration:
r744 == revision ff4582c59b04

Original comment by g.rodola on 2 Mar 2013 at 11:55