mirror of
https://github.com/topjohnwu/selinux.git
synced 2025-01-07 03:12:04 +00:00
python/sepolgen: fix typo in PathChoooser name
Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
parent
e3b9ecc51d
commit
91ef21e31f
@ -22,7 +22,7 @@ import re
|
|||||||
|
|
||||||
# Select the correct location for the development files based on a
|
# Select the correct location for the development files based on a
|
||||||
# path variable (optionally read from a configuration file)
|
# path variable (optionally read from a configuration file)
|
||||||
class PathChoooser(object):
|
class PathChooser(object):
|
||||||
def __init__(self, pathname):
|
def __init__(self, pathname):
|
||||||
self.config = dict()
|
self.config = dict()
|
||||||
if not os.path.exists(pathname):
|
if not os.path.exists(pathname):
|
||||||
@ -68,10 +68,10 @@ def attribute_info():
|
|||||||
return data_dir() + "/attribute_info"
|
return data_dir() + "/attribute_info"
|
||||||
|
|
||||||
def refpolicy_makefile():
|
def refpolicy_makefile():
|
||||||
chooser = PathChoooser("/etc/selinux/sepolgen.conf")
|
chooser = PathChooser("/etc/selinux/sepolgen.conf")
|
||||||
return chooser("Makefile")
|
return chooser("Makefile")
|
||||||
|
|
||||||
def headers():
|
def headers():
|
||||||
chooser = PathChoooser("/etc/selinux/sepolgen.conf")
|
chooser = PathChooser("/etc/selinux/sepolgen.conf")
|
||||||
return chooser("include")
|
return chooser("include")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user