Commit 9586087d authored by Łukasz Nowak's avatar Łukasz Nowak

- fix typo


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43285 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 085aa15b
......@@ -108,7 +108,7 @@ class CertificateAuthorityTool(BaseTool):
"""Checks Certificate Authority configuration, raises CertificateAuthorityDamaged"""
if not self.certificate_authority_path:
raise CertificateAuthorityDamaged('Certificate authority path is not '
'configured' % self.certificate_authority_path)
'configured')
if not os.path.isdir(self.certificate_authority_path):
raise CertificateAuthorityDamaged('Path to Certificate Authority %r is '
'wrong' % self.certificate_authority_path)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment