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

slaprunner: pyflakes went through this code

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