mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Localise import to avoid setuptools install error
This commit is contained in:
parent
9d1e2c511c
commit
14c4fafd39
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,6 @@ import os
|
||||||
import time
|
import time
|
||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
import psutil
|
|
||||||
|
|
||||||
from importlib import import_module
|
from importlib import import_module
|
||||||
|
|
||||||
|
@ -525,6 +524,7 @@ class MoulinetteLock(object):
|
||||||
return lock_pids
|
return lock_pids
|
||||||
|
|
||||||
def _is_son_of(self, lock_pids):
|
def _is_son_of(self, lock_pids):
|
||||||
|
import psutil
|
||||||
|
|
||||||
if lock_pids == []:
|
if lock_pids == []:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in a new issue