fix typos, including a severe one

This commit is contained in:
Thomas Waldmann 2014-12-24 04:42:03 +01:00
parent 5584bb4e6f
commit 992830f2c2
2 changed files with 3 additions and 3 deletions

View file

@ -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):

View file

@ -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