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
Ivan Tyagov
caucase
Commits
f7fbeaf9
Commit
f7fbeaf9
authored
Jul 12, 2018
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
all: Make pylint happier.
parent
975d1c0b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
caucase/storage.py
caucase/storage.py
+2
-0
caucase/test.py
caucase/test.py
+2
-1
No files found.
caucase/storage.py
View file @
f7fbeaf9
...
@@ -149,6 +149,7 @@ class SQLite3Storage(local):
...
@@ -149,6 +149,7 @@ class SQLite3Storage(local):
if
result_list
:
if
result_list
:
result
,
=
result_list
result
,
=
result_list
return
result
return
result
return
None
def
getConfigOnce
(
self
,
name
,
default
):
def
getConfigOnce
(
self
,
name
,
default
):
"""
"""
...
@@ -474,6 +475,7 @@ class SQLite3Storage(local):
...
@@ -474,6 +475,7 @@ class SQLite3Storage(local):
)
)
if
row
is
not
None
:
if
row
is
not
None
:
return
row
[
'crl'
].
encode
(
'ascii'
)
return
row
[
'crl'
].
encode
(
'ascii'
)
return
None
def
getNextCertificateRevocationListNumber
(
self
):
def
getNextCertificateRevocationListNumber
(
self
):
"""
"""
...
...
caucase/test.py
View file @
f7fbeaf9
...
@@ -73,8 +73,9 @@ def retry(callback, try_count=200, try_delay=0.1):
...
@@ -73,8 +73,9 @@ def retry(callback, try_count=200, try_delay=0.1):
for
_
in
xrange
(
try_count
):
for
_
in
xrange
(
try_count
):
result
=
callback
()
result
=
callback
()
if
result
:
if
result
:
return
result
break
time
.
sleep
(
try_delay
)
time
.
sleep
(
try_delay
)
return
result
class
FakeStreamRequest
(
object
):
class
FakeStreamRequest
(
object
):
"""
"""
...
...
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