Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos.toolbox
Commits
06176fea
Commit
06176fea
authored
Dec 02, 2013
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slaprunner: pyflakes went through this code
parent
468b1dc2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
slapos/runner/__init__.py
slapos/runner/__init__.py
+1
-5
slapos/runner/views.py
slapos/runner/views.py
+1
-1
No files found.
slapos/runner/__init__.py
View file @
06176fea
...
...
@@ -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
()
...
...
slapos/runner/views.py
View file @
06176fea
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment