mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
A final small fix, hopefully
This commit is contained in:
parent
613250e1b2
commit
f4a130eab3
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