mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 15:22:38 -04:00
fix typos, including a severe one
This commit is contained in:
parent
5584bb4e6f
commit
992830f2c2
2 changed files with 3 additions and 3 deletions
|
|
@ -346,14 +346,14 @@ class ApacheParser(object):
|
|||
|
||||
"""
|
||||
# Basic check to see if httpd.conf exists and
|
||||
# in heirarchy via direct include
|
||||
# in hierarchy via direct include
|
||||
# httpd.conf was very common as a user file in Apache 2.2
|
||||
if (os.path.isfile(os.path.join(self.root, 'httpd.conf')) and
|
||||
self.find_dir(
|
||||
case_i("Include"), case_i("httpd.conf"), root)):
|
||||
return os.path.join(self.root, 'httpd.conf')
|
||||
else:
|
||||
return os.path.join(self.root + 'apache2.conf')
|
||||
return os.path.join(self.root, 'apache2.conf')
|
||||
|
||||
|
||||
def case_i(string):
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@ class FileDisplay(object):
|
|||
else:
|
||||
try:
|
||||
selection = int(ans)
|
||||
# TODO add check to make sure it is liess than max
|
||||
# TODO add check to make sure it is less than max
|
||||
if selection < 0:
|
||||
self.outfile.write(e_msg)
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in a new issue