mirror of
https://github.com/NaN-tic/trytond-monitoring_rdiff_backup.git
synced 2023-12-14 05:12:59 +01:00
Remove dependency with psutil.
This commit is contained in:
parent
66b1893f2f
commit
a5076f87ae
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue