diff options
Diffstat (limited to 'logilab/common/proc.py')
-rw-r--r-- | logilab/common/proc.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/logilab/common/proc.py b/logilab/common/proc.py index 49d4d96..0a9ca74 100644 --- a/logilab/common/proc.py +++ b/logilab/common/proc.py @@ -92,13 +92,11 @@ class ProcInfo(Node): return open(self.file).read().split() def name(self): - """return the process name found in /proc/<pid>/stat - """ + """return the process name found in /proc/<pid>/stat""" return self.status()[1].strip("()") def age(self): - """return the age of the process - """ + """return the age of the process""" return os.stat(self.file)[stat.ST_MTIME] |