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
9466242b
Commit
9466242b
authored
Oct 07, 2021
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
caucase.ca: Coding style.
parent
810e7ec2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
caucase/ca.py
caucase/ca.py
+4
-2
No files found.
caucase/ca.py
View file @
9466242b
...
@@ -264,8 +264,10 @@ class CertificateAuthority(object):
...
@@ -264,8 +264,10 @@ class CertificateAuthority(object):
).
digest
),
).
digest
),
override_limits
=
override_limits
,
override_limits
=
override_limits
,
)
)
if
requested_amount
is
not
None
and
\
if
(
requested_amount
<=
self
.
_auto_sign_csr_amount
:
requested_amount
is
not
None
and
requested_amount
<=
self
.
_auto_sign_csr_amount
):
# if allowed to sign this certificate automaticaly
# if allowed to sign this certificate automaticaly
self
.
_createCertificate
(
csr_id
,
auto_signed
=
_AUTO_SIGNED_YES
)
self
.
_createCertificate
(
csr_id
,
auto_signed
=
_AUTO_SIGNED_YES
)
return
csr_id
return
csr_id
...
...
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