summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-01-25 02:07:13 +0000
committerErik Troan <ewt@redhat.com>2001-01-25 02:07:13 +0000
commit6a8b49284869128b2effbd80cfb9364b326ad5f9 (patch)
tree8e6effb09c439976f2698be04e10e347de79573b /iutil.py
parentefeb929ce3d1ab03b83a2b550e308a16e18f4565 (diff)
downloadanaconda-6a8b49284869128b2effbd80cfb9364b326ad5f9.tar.gz
anaconda-6a8b49284869128b2effbd80cfb9364b326ad5f9.tar.xz
anaconda-6a8b49284869128b2effbd80cfb9364b326ad5f9.zip
broke all language-related operations. so there.
Diffstat (limited to 'iutil.py')
-rw-r--r--iutil.py39
1 files changed, 0 insertions, 39 deletions
diff --git a/iutil.py b/iutil.py
index 55ab9ac19..6b78d7c97 100644
--- a/iutil.py
+++ b/iutil.py
@@ -315,42 +315,3 @@ esac
execWithRedirect('/bin/sh', args, stdin = None,
stdout = None, stderr = None,
root = root)
-
-def defaultZone(locale):
- if os.access("lang-table", os.R_OK):
- f = open("lang-table", "r")
- elif os.access("/etc/lang-table", os.R_OK):
- f = open("/etc/lang-table", "r")
- else:
- f = open("/usr/lib/anaconda/lang-table", "r")
-
- lines = f.readlines ()
- f.close()
-
- for line in lines:
- string.strip(line)
- l = string.split(line)
- if l[4] == locale:
- return l[6]
-
- return "US/Eastern"
-
-def defaultKeyboard(locale):
- if os.access("lang-table", os.R_OK):
- f = open("lang-table", "r")
- elif os.access("/etc/lang-table", os.R_OK):
- f = open("/etc/lang-table", "r")
- else:
- f = open("/usr/lib/anaconda/lang-table", "r")
-
- lines = f.readlines ()
- f.close()
-
- for line in lines:
- string.strip(line)
- l = string.split(line)
- if l[4] == locale:
- return l[5]
-
- return "us"
-