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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iliya Manolov
slapos.toolbox
Commits
d1bd058e
Commit
d1bd058e
authored
Feb 14, 2017
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runner: get correct logger
parent
93668a6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
slapos/runner/utils.py
slapos/runner/utils.py
+1
-3
slapos/runner/views.py
slapos/runner/views.py
+1
-3
No files found.
slapos/runner/utils.py
View file @
d1bd058e
...
@@ -29,9 +29,7 @@ from passlib.apache import HtpasswdFile
...
@@ -29,9 +29,7 @@ from passlib.apache import HtpasswdFile
import
slapos.slap
import
slapos.slap
from
slapos.grid.utils
import
md5digest
from
slapos.grid.utils
import
md5digest
# Setup default flask (werkzeug) parser
logger
=
logging
.
getLogger
(
'slaprunner'
)
logger
=
logging
.
getLogger
(
'werkzeug'
)
TRUE_VALUES
=
(
1
,
'1'
,
True
,
'true'
,
'True'
)
TRUE_VALUES
=
(
1
,
'1'
,
True
,
'true'
,
'True'
)
...
...
slapos/runner/views.py
View file @
d1bd058e
...
@@ -45,10 +45,8 @@ app = Flask(__name__)
...
@@ -45,10 +45,8 @@ app = Flask(__name__)
app
.
config
[
'MAX_CONTENT_LENGTH'
]
=
20
*
1024
*
1024
app
.
config
[
'MAX_CONTENT_LENGTH'
]
=
20
*
1024
*
1024
file_request
=
FileBrowser
(
app
.
config
)
file_request
=
FileBrowser
(
app
.
config
)
# Setup default flask (werkzeug) parser
import
logging
import
logging
logger
=
logging
.
getLogger
(
'werkzeug'
)
logger
=
logging
.
getLogger
(
'slaprunner'
)
def
login_redirect
(
*
args
,
**
kwargs
):
def
login_redirect
(
*
args
,
**
kwargs
):
return
redirect
(
url_for
(
'login'
))
return
redirect
(
url_for
(
'login'
))
...
...
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