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
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
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
Hide 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):
"""
return
self
.
_rfile
if
'r'
in
mode
else
self
.
_wfile
# pylint: disable=unused-argument
def
sendall
(
self
,
data
,
flags
=
None
):
# pragma: no cover
"""
Redirect sendall.
"""
_
=
flags
# Silence pylint
self
.
_wfile
.
write
(
data
)
# pylint: enable=unused-argument
class
NoCloseFileProxy
(
object
):
"""
...
...
caucase/wsgi.py
View file @
05ca7a95
...
...
@@ -963,14 +963,11 @@ class Application(object):
[],
)
def
getCertificateRevocationList
(
self
,
context
,
environ
,
):
# pylint: disable=unused-argument
def
getCertificateRevocationList
(
self
,
context
,
environ
):
"""
Handle GET /{context}/crl .
"""
_
=
environ
# Silence pylint
return
self
.
_returnFile
(
context
.
getCertificateRevocationList
(),
'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