mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
A final small fix, hopefully
This commit is contained in:
parent
d53da41f00
commit
593e220353
1 changed files with 3 additions and 4 deletions
|
|
@ -175,11 +175,10 @@ class NginxParser(object):
|
|||
with open(ssl_options) as _file:
|
||||
return nginxparser.load(_file)
|
||||
except IOError:
|
||||
logger.debug("Could not open file: %s", item)
|
||||
logger.debug("Could not open file: %s", ssl_options)
|
||||
except pyparsing.ParseException:
|
||||
logger.debug("Could not parse file: %s", item)
|
||||
else:
|
||||
return []
|
||||
logger.debug("Could not parse file: %s", ssl_options)
|
||||
return []
|
||||
|
||||
def _set_locations(self, ssl_options):
|
||||
"""Set default location for directives.
|
||||
|
|
|
|||
Loading…
Reference in a new issue