python/sepolgen: fix typo in PathChoooser name

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
Nicolas Iooss 2018-06-03 18:25:38 +02:00 committed by Stephen Smalley
parent e3b9ecc51d
commit 91ef21e31f

View file

@ -22,7 +22,7 @@ import re
# Select the correct location for the development files based on a
# path variable (optionally read from a configuration file)
class PathChoooser(object):
class PathChooser(object):
def __init__(self, pathname):
self.config = dict()
if not os.path.exists(pathname):
@ -68,10 +68,10 @@ def attribute_info():
return data_dir() + "/attribute_info"
def refpolicy_makefile():
chooser = PathChoooser("/etc/selinux/sepolgen.conf")
chooser = PathChooser("/etc/selinux/sepolgen.conf")
return chooser("Makefile")
def headers():
chooser = PathChoooser("/etc/selinux/sepolgen.conf")
chooser = PathChooser("/etc/selinux/sepolgen.conf")
return chooser("include")