genhomedircon: drop unused functions
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
This commit is contained in:
parent
806a0d12f8
commit
cf8f7bbea7
@ -138,9 +138,6 @@ class selinuxConfig:
|
||||
def getFileContextFile(self):
|
||||
return self.getFileContextDir()+"/file_contexts"
|
||||
|
||||
def getContextDir(self):
|
||||
return self.selinuxdir+self.setype+self.contextdir
|
||||
|
||||
def getHomeDirTemplate(self):
|
||||
return self.getFileContextDir()+"/homedir_template"
|
||||
|
||||
@ -271,9 +268,6 @@ class selinuxConfig:
|
||||
ret += self.genHomeDirContext()
|
||||
return ret
|
||||
|
||||
def printout(self):
|
||||
print(self.genoutput())
|
||||
|
||||
def write(self):
|
||||
try:
|
||||
fd = open(self.getFileContextDir()+"/file_contexts.homedirs", "w")
|
||||
|
Loading…
Reference in New Issue
Block a user