genhomedircon: drop unused functions

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
This commit is contained in:
Christian Göttsche 2021-01-31 21:50:21 +01:00
parent 806a0d12f8
commit cf8f7bbea7

View File

@ -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")