From a4ec9e2c58d9544c3d33fbf2fb16dba77e4757b9 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Thu, 6 Dec 2012 14:25:08 -0500 Subject: [PATCH] Remove the lang.apply method (#882186). To the best of my knowledge, nothing is using this. And we're not even doing it right anymore (see the bug). Plus, I've changed my mind on pykickstart being the correct place for such code. The base apply method stays, however, so as to not introduce tracebacks. --- pykickstart/commands/lang.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pykickstart/commands/lang.py b/pykickstart/commands/lang.py index cf5e46c..dbdc852 100644 --- a/pykickstart/commands/lang.py +++ b/pykickstart/commands/lang.py @@ -52,9 +52,3 @@ class FC3_Lang(KickstartCommand): self.lang = extra[0] return self - - def apply(self, instroot="/"): - if self.lang == "": return - f = open(instroot + "/etc/sysconfig/i18n", "w+") - f.write("LANG=\"%s\"\n" %(self.lang,)) - f.close() -- 2.11.4.GIT