mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] bad hack to handle the limitation of our buildchain
This commit is contained in:
parent
df4c435f85
commit
c73cca3f40
1 changed files with 5 additions and 1 deletions
|
@ -5,7 +5,6 @@ import time
|
||||||
import json
|
import json
|
||||||
import errno
|
import errno
|
||||||
import logging
|
import logging
|
||||||
import psutil
|
|
||||||
|
|
||||||
from importlib import import_module
|
from importlib import import_module
|
||||||
|
|
||||||
|
@ -497,6 +496,11 @@ class MoulinetteLock(object):
|
||||||
return lock_pid
|
return lock_pid
|
||||||
|
|
||||||
def _is_son_of_locked(self):
|
def _is_son_of_locked(self):
|
||||||
|
# this is here and not at the beginning of the file to fix a bug in our
|
||||||
|
# debian build toolchain because it doesn't handle additional
|
||||||
|
# dependancies during the guilde and core.py is indirectly imported by
|
||||||
|
# setup.py
|
||||||
|
import psutil
|
||||||
|
|
||||||
lock_pid = self._lock_PID()
|
lock_pid = self._lock_PID()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue