Remove unused import
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
from cement.core.controller import CementBaseController, expose
|
||||
from cement.core import handler, hook
|
||||
from wo.core.aptget import WOAptGet
|
||||
from wo.core.shellexec import WOShellExec
|
||||
from wo.core.variables import WOVariables
|
||||
from wo.core.logging import Log
|
||||
|
||||
@@ -12,7 +12,6 @@ from wo.cli.plugins.sitedb import *
|
||||
from wo.core.git import WOGit
|
||||
from subprocess import Popen
|
||||
from wo.core.nginxhashbucket import hashbucket
|
||||
import sys
|
||||
import os
|
||||
import glob
|
||||
import subprocess
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
from sqlalchemy import Column, DateTime, String, Integer, Boolean
|
||||
from sqlalchemy import ForeignKey, func
|
||||
from sqlalchemy.orm import relationship, backref
|
||||
from sqlalchemy.ext.declarative import declarative_base
|
||||
from wo.core.logging import Log
|
||||
from wo.core.database import db_session
|
||||
from wo.cli.plugins.models import SiteDB
|
||||
|
||||
|
||||
|
||||
def addNewSite(self, site, stype, cache, path,
|
||||
enabled=True, ssl=False, fs='ext4', db='mysql',
|
||||
db_name=None, db_user=None, db_password=None,
|
||||
|
||||
@@ -9,7 +9,6 @@ from wo.core.fileutils import WOFileUtils
|
||||
from wo.core.shellexec import WOShellExec
|
||||
from wo.core.extract import WOExtract
|
||||
from wo.core.download import WODownload
|
||||
import configparser
|
||||
import os
|
||||
import shutil
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@ from wo.core.fileutils import WOFileUtils
|
||||
import math
|
||||
import os
|
||||
import fileinput
|
||||
import re
|
||||
import subprocess
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user