Remove dependency with psutil.

This commit is contained in:
Albert Cervera i Areny 2014-10-11 16:36:52 +02:00
parent 66b1893f2f
commit a5076f87ae

View file

@ -1,14 +1,13 @@
# The COPYRIGHT file at the top level of this repository contains the full
# copyright notices and license terms.
import subprocess
from trytond.pool import PoolMeta
import psutil
__all__ = ['CheckPlan']
__metaclass__ = PoolMeta
def check_output(*args):
import subprocess
process = subprocess.Popen(args, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
process.wait()