From 906eaeaca20b5dc9b2b4a59bce2793f9875fc6cc Mon Sep 17 00:00:00 2001 From: Sylvain Thenault Date: Tue, 2 Dec 2008 12:50:53 +0100 Subject: clenaup --- proc.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/proc.py b/proc.py index 7deefe8..bc29caa 100644 --- a/proc.py +++ b/proc.py @@ -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""" -- cgit v1.2.1