diff options
author | Sylvain Thenault <sylvain.thenault@logilab.fr> | 2008-12-02 12:50:53 +0100 |
---|---|---|
committer | Sylvain Thenault <sylvain.thenault@logilab.fr> | 2008-12-02 12:50:53 +0100 |
commit | 906eaeaca20b5dc9b2b4a59bce2793f9875fc6cc (patch) | |
tree | 9eeda44f13854caf075afaff8b09fadb9700a261 /proc.py | |
parent | 029023ac9399311a91dc1f7deed778b26275a45a (diff) | |
download | logilab-common-906eaeaca20b5dc9b2b4a59bce2793f9875fc6cc.tar.gz |
clenaup
Diffstat (limited to 'proc.py')
-rw-r--r-- | proc.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,6 +1,6 @@ """module providing: * process information (linux specific: rely on /proc) -* a class for resource (memory / cpu time) control +* a class for resource control (memory / time / cpu time) :organization: Logilab :copyright: 2007-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved. @@ -100,7 +100,6 @@ class ProcInfoLoader: pass - import tempfile import traceback from signal import signal, SIGXCPU, SIGKILL, SIGUSR2, SIGUSR1 @@ -110,7 +109,6 @@ from time import time from resource import getrlimit, setrlimit, RLIMIT_CPU, RLIMIT_AS - try: class ResourceError(BaseException): """Error raise when resource limit is reached""" |