diff --git a/wo/cli/plugins/secure.py b/wo/cli/plugins/secure.py index 0df27c9..9f0c27c 100644 --- a/wo/cli/plugins/secure.py +++ b/wo/cli/plugins/secure.py @@ -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 diff --git a/wo/cli/plugins/site.py b/wo/cli/plugins/site.py index 8cfce53..a56292c 100644 --- a/wo/cli/plugins/site.py +++ b/wo/cli/plugins/site.py @@ -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 diff --git a/wo/cli/plugins/sitedb.py b/wo/cli/plugins/sitedb.py index 0a069a1..bb7f2e4 100644 --- a/wo/cli/plugins/sitedb.py +++ b/wo/cli/plugins/sitedb.py @@ -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, diff --git a/wo/cli/plugins/stack_upgrade.py b/wo/cli/plugins/stack_upgrade.py index 7f3e4f8..b214157 100644 --- a/wo/cli/plugins/stack_upgrade.py +++ b/wo/cli/plugins/stack_upgrade.py @@ -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 diff --git a/wo/core/nginxhashbucket.py b/wo/core/nginxhashbucket.py index a4ec755..921fe1f 100644 --- a/wo/core/nginxhashbucket.py +++ b/wo/core/nginxhashbucket.py @@ -3,7 +3,6 @@ from wo.core.fileutils import WOFileUtils import math import os import fileinput -import re import subprocess