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
1 changed files with 0 additions and 6 deletions

View File

@ -138,9 +138,6 @@ class selinuxConfig:
def getFileContextFile(self): def getFileContextFile(self):
return self.getFileContextDir()+"/file_contexts" return self.getFileContextDir()+"/file_contexts"
def getContextDir(self):
return self.selinuxdir+self.setype+self.contextdir
def getHomeDirTemplate(self): def getHomeDirTemplate(self):
return self.getFileContextDir()+"/homedir_template" return self.getFileContextDir()+"/homedir_template"
@ -271,9 +268,6 @@ class selinuxConfig:
ret += self.genHomeDirContext() ret += self.genHomeDirContext()
return ret return ret
def printout(self):
print(self.genoutput())
def write(self): def write(self):
try: try:
fd = open(self.getFileContextDir()+"/file_contexts.homedirs", "w") fd = open(self.getFileContextDir()+"/file_contexts.homedirs", "w")