Commit 59598125 authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: cleaned imports

parent e1233d77
...@@ -21,13 +21,12 @@ import sup_process ...@@ -21,13 +21,12 @@ import sup_process
import time import time
import unittest import unittest
from slapos.runner.utils import (getProfilePath, getRcode, from slapos.runner.utils import (getProfilePath,
getSession, isInstanceRunning, getSession, isInstanceRunning,
isSoftwareRunning, startProxy, isSoftwareRunning, startProxy,
isSoftwareReleaseReady, isSoftwareReleaseReady,
runSlapgridUntilSuccess, runSlapgridUntilSuccess,
getBuildAndRunParams, saveBuildAndRunParams) getBuildAndRunParams, saveBuildAndRunParams)
from slapos.runner.process import killRunningProcess, isRunning
from slapos.runner import views from slapos.runner import views
import slapos.slap import slapos.slap
from slapos.htpasswd import HtpasswdFile from slapos.htpasswd import HtpasswdFile
......
...@@ -3,8 +3,6 @@ import signal ...@@ -3,8 +3,6 @@ import signal
import time import time
import xmlrpclib import xmlrpclib
from supervisor import childutils
# This mini-library is used to communicate with supervisord process # This mini-library is used to communicate with supervisord process
# It aims to replace the file "process.py" # It aims to replace the file "process.py"
# For the moment, we keep both for compatibility # For the moment, we keep both for compatibility
......
...@@ -7,7 +7,6 @@ import datetime ...@@ -7,7 +7,6 @@ import datetime
import json import json
import logging import logging
import md5 import md5
import multiprocessing
import os import os
import sup_process import sup_process
import re import re
...@@ -23,7 +22,7 @@ from flask import jsonify ...@@ -23,7 +22,7 @@ from flask import jsonify
from slapos.runner.gittools import cloneRepo from slapos.runner.gittools import cloneRepo
from slapos.runner.process import Popen, isRunning, killRunningProcess, isPidFileProcessRunning from slapos.runner.process import Popen
from slapos.htpasswd import HtpasswdFile from slapos.htpasswd import HtpasswdFile
import slapos.slap import slapos.slap
from slapos.grid.utils import md5digest from slapos.grid.utils import md5digest
......
...@@ -25,8 +25,7 @@ from slapos.runner.utils import (checkSoftwareFolder, configNewSR, ...@@ -25,8 +25,7 @@ from slapos.runner.utils import (checkSoftwareFolder, configNewSR,
loadSoftwareRList, md5sum, newSoftware, loadSoftwareRList, md5sum, newSoftware,
readFileFrom, readParameters, realpath, readFileFrom, readParameters, realpath,
removeInstanceRoot, removeProxyDb, removeInstanceRoot, removeProxyDb,
removeSoftwareByName, runInstanceWithLock, removeSoftwareByName, runSlapgridUntilSuccess,
runSoftwareWithLock, runSlapgridUntilSuccess,
saveSession, saveBuildAndRunParams, saveSession, saveBuildAndRunParams,
setMiniShellHistory, setMiniShellHistory,
svcStartStopProcess, svcStopAll, tail, svcStartStopProcess, svcStopAll, tail,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment