Commit 06176fea authored by Nicolas Wavrant's avatar Nicolas Wavrant

slaprunner: pyflakes went through this code

parent 468b1dc2
......@@ -6,13 +6,11 @@ import ConfigParser
import datetime
import logging
import logging.handlers
from optparse import OptionParser, Option
import os
from slapos.htpasswd import HtpasswdFile
from slapos.runner.process import setHandler
import sys
from slapos.runner.utils import (runInstanceWithLock,
cloneDefaultGit, setupDefaultSR)
from slapos.runner.utils import runInstanceWithLock
from slapos.runner.views import *
......@@ -82,8 +80,6 @@ def checkHtpasswd(config):
def run():
"Run default configuration."
usage = "usage: %s [options] CONFIGURATION_FILE" % sys.argv[0]
# Parse arguments
config = Config()
config.setConfig()
......
......@@ -7,7 +7,7 @@ import os
import shutil
import urllib
from flaskext.auth import Auth, AuthUser, login_required, logout
from flaskext.auth import logout
from flask import (Flask, request, redirect, url_for, render_template,
g, flash, jsonify, session, abort, send_file)
......
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