aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-08-11 15:01:34 +0200
committerJason Zaman <perfinion@gentoo.org>2020-10-11 13:14:57 -0700
commit43d6b21903c664c2bd8587d022f81a797c2b0075 (patch)
tree6ea7b351999333f25cd192168527f656b5bc5139 /support
parentvarious: Module version bump. (diff)
downloadhardened-refpolicy-43d6b21903c664c2bd8587d022f81a797c2b0075.tar.gz
hardened-refpolicy-43d6b21903c664c2bd8587d022f81a797c2b0075.tar.bz2
hardened-refpolicy-43d6b21903c664c2bd8587d022f81a797c2b0075.zip
Fix several misspellings
Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'support')
-rw-r--r--support/segenxml.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/segenxml.py b/support/segenxml.py
index 75c766bd3..c4fe04487 100644
--- a/support/segenxml.py
+++ b/support/segenxml.py
@@ -78,7 +78,7 @@ def getModuleXML(file_name):
module_te = "%s/%s.te" % (module_dir, module_name)
module_if = "%s/%s.if" % (module_dir, module_name)
- # Try to open the file, if it cant, just ignore it.
+ # Try to open the file, if it can't, just ignore it.
try:
module_file = open(module_if, "r")
module_code = module_file.readlines()
@@ -201,7 +201,7 @@ def getTunableXML(file_name, kind):
Return all the XML for the tunables/bools in the file specified.
'''
- # Try to open the file, if it cant, just ignore it.
+ # Try to open the file, if it can't, just ignore it.
try:
tunable_file = open(file_name, "r")
tunable_code = tunable_file.readlines()