From cf8f7bbea7c21e622eb548cb60f905c371a10e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sun, 31 Jan 2021 21:50:21 +0100 Subject: [PATCH] genhomedircon: drop unused functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian Göttsche --- support/genhomedircon.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/support/genhomedircon.py b/support/genhomedircon.py index 547457300..13e9c9e8d 100644 --- a/support/genhomedircon.py +++ b/support/genhomedircon.py @@ -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")