diff --git a/letsencrypt/client/apache/parser.py b/letsencrypt/client/apache/parser.py index 8a0a9aff9..f2516a49e 100644 --- a/letsencrypt/client/apache/parser.py +++ b/letsencrypt/client/apache/parser.py @@ -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): diff --git a/letsencrypt/client/display.py b/letsencrypt/client/display.py index c6d90b5f0..29b646794 100644 --- a/letsencrypt/client/display.py +++ b/letsencrypt/client/display.py @@ -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