diff options
author | Chris Lumens <clumens@redhat.com> | 2012-09-20 16:19:08 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2012-09-24 09:56:32 -0400 |
commit | b6b995d023b25fc35ce2829bc8b82177c1c4b1c1 (patch) | |
tree | ad4ee68967add44d9966f55af1768934fe5d767a /pyanaconda/timezone.py | |
parent | 9579bb30579511d321c07a9f50579cd1421e7ab2 (diff) | |
download | anaconda-b6b995d023b25fc35ce2829bc8b82177c1c4b1c1.tar.gz anaconda-b6b995d023b25fc35ce2829bc8b82177c1c4b1c1.tar.xz anaconda-b6b995d023b25fc35ce2829bc8b82177c1c4b1c1.zip |
Don't write out /etc/sysconfig/clock anymore (#859217).
Diffstat (limited to 'pyanaconda/timezone.py')
-rw-r--r-- | pyanaconda/timezone.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pyanaconda/timezone.py b/pyanaconda/timezone.py index 61cdd9a35..0b7173d15 100644 --- a/pyanaconda/timezone.py +++ b/pyanaconda/timezone.py @@ -69,14 +69,6 @@ def write_timezone_config(timezone, root): (rooted_tz_file, oserr.strerror)) try: - with open(os.path.normpath(root + "/etc/sysconfig/clock"), "w") as fobj: - fobj.write('ZONE="%s"\n' % timezone.timezone) - except IOError as ioerr: - msg = "Error while writing /etc/sysconfig/clock file: %s" % \ - ioerr.strerror - raise TimezoneConfigError(msg) - - try: fobj = open(os.path.normpath(root + "/etc/adjtime"), "r") lines = fobj.readlines() fobj.close() |