mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] pep8
This commit is contained in:
parent
4eaefe5145
commit
005d624f2f
1 changed files with 2 additions and 2 deletions
|
@ -817,9 +817,9 @@ def _name_self_CA():
|
||||||
lines = f.readlines()
|
lines = f.readlines()
|
||||||
|
|
||||||
for line in lines:
|
for line in lines:
|
||||||
if (line.startswith("commonName_default")):
|
if line.startswith("commonName_default"):
|
||||||
return line.split()[2]
|
return line.split()[2]
|
||||||
except :
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
logger.warning(m18n.n('certmanager_unable_to_determine_self_CA_name'))
|
logger.warning(m18n.n('certmanager_unable_to_determine_self_CA_name'))
|
||||||
|
|
Loading…
Add table
Reference in a new issue