summaryrefslogtreecommitdiff
path: root/x11-clocks/gdesklets-clock/files/Clock::__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'x11-clocks/gdesklets-clock/files/Clock::__init__.py')
-rw-r--r--x11-clocks/gdesklets-clock/files/Clock::__init__.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/x11-clocks/gdesklets-clock/files/Clock::__init__.py b/x11-clocks/gdesklets-clock/files/Clock::__init__.py
deleted file mode 100644
index f0f063ed9da5..000000000000
--- a/x11-clocks/gdesklets-clock/files/Clock::__init__.py
+++ /dev/null
@@ -1,16 +0,0 @@
---- __init__.py.bak Tue Mar 30 18:08:39 2004
-+++ __init__.py Tue Mar 30 18:11:36 2004
-@@ -149,8 +149,11 @@
- timezone = self._get_config("timezone")
- if (timezone != self.__timezone):
- self.__timezone = timezone
-- offset = commands.getoutput("TZ=\"%(timezone)s\" date +%%z"
-- % vars())
-+ if timezone == "localtime":
-+ offset = commands.getoutput("date +%z")
-+ else:
-+ offset = commands.getoutput("TZ=\"%(timezone)s\" date +%%z"
-+ % vars())
- sign = (offset[0] == "+") and 1 or -1
- hours = int(offset[1:3])
- mins = int(offset[3:5])