Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caucase
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
Vincent Pelletier
caucase
Commits
05ca7a95
Commit
05ca7a95
authored
Feb 01, 2021
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pylint: Get rid of the last disable=unused-argument places.
parent
39cf48a0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
caucase/test.py
caucase/test.py
+1
-2
caucase/wsgi.py
caucase/wsgi.py
+2
-5
No files found.
caucase/test.py
View file @
05ca7a95
...
@@ -161,13 +161,12 @@ class FakeStreamRequest(object):
...
@@ -161,13 +161,12 @@ class FakeStreamRequest(object):
"""
"""
return
self
.
_rfile
if
'r'
in
mode
else
self
.
_wfile
return
self
.
_rfile
if
'r'
in
mode
else
self
.
_wfile
# pylint: disable=unused-argument
def
sendall
(
self
,
data
,
flags
=
None
):
# pragma: no cover
def
sendall
(
self
,
data
,
flags
=
None
):
# pragma: no cover
"""
"""
Redirect sendall.
Redirect sendall.
"""
"""
_
=
flags
# Silence pylint
self
.
_wfile
.
write
(
data
)
self
.
_wfile
.
write
(
data
)
# pylint: enable=unused-argument
class
NoCloseFileProxy
(
object
):
class
NoCloseFileProxy
(
object
):
"""
"""
...
...
caucase/wsgi.py
View file @
05ca7a95
...
@@ -963,14 +963,11 @@ class Application(object):
...
@@ -963,14 +963,11 @@ class Application(object):
[],
[],
)
)
def
getCertificateRevocationList
(
def
getCertificateRevocationList
(
self
,
context
,
environ
):
self
,
context
,
environ
,
):
# pylint: disable=unused-argument
"""
"""
Handle GET /{context}/crl .
Handle GET /{context}/crl .
"""
"""
_
=
environ
# Silence pylint
return
self
.
_returnFile
(
return
self
.
_returnFile
(
context
.
getCertificateRevocationList
(),
context
.
getCertificateRevocationList
(),
'application/pkix-crl'
,
'application/pkix-crl'
,
...
...
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