jenkins-bot has submitted this change and it was merged.

Change subject: removing unused import and commented codes
......................................................................


removing unused import and commented codes

Change-Id: I7d50e2fa9013f65d53d77209f43b2d177c16e923
---
M scripts/script_wui.py
1 file changed, 0 insertions(+), 7 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/scripts/script_wui.py b/scripts/script_wui.py
index 01ccecc..122c77c 100755
--- a/scripts/script_wui.py
+++ b/scripts/script_wui.py
@@ -62,7 +62,6 @@
 
 
 import datetime
-import time
 import thread
 import threading
 import sys
@@ -114,12 +113,6 @@
         pywikibot.output(u'\03{lightgreen}* Initialization of bot\03{default}')
 
         pywikibot.botirc.IRCBot.__init__(self, *arg)
-
-        ## modification of timezone to be in sync with wiki
-        #os.environ['TZ'] = 'Europe/Amsterdam'
-        #time.tzset()
-        #pywikibot.output(u'Setting process TimeZone (TZ): %s' % 
str(time.tzname))    # ('CET', 'CEST')
-        #pywikibot.output(u'')
 
         # init environment with minimal changes (try to do as less as possible)
         # - Lua -

-- 
To view, visit https://gerrit.wikimedia.org/r/117655
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7d50e2fa9013f65d53d77209f43b2d177c16e923
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to