[gnome-ostree/wip/simple-cleanups: 19/23] supybot: Remove unnecessary imports



commit 0f7b742407e3bf1d7bf2ca8f8fdf4750689f422a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Jun 13 13:37:48 2013 -0400

    supybot: Remove unnecessary imports

 extras/supybot/GNOMEOSTree/plugin.py |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/extras/supybot/GNOMEOSTree/plugin.py b/extras/supybot/GNOMEOSTree/plugin.py
index 27f36b1..14f2fe2 100644
--- a/extras/supybot/GNOMEOSTree/plugin.py
+++ b/extras/supybot/GNOMEOSTree/plugin.py
@@ -28,22 +28,13 @@
 # POSSIBILITY OF SUCH DAMAGE.
 ###
 
-import time
 import os
-import re
-import shutil
-import tempfile
 import json
 
-import supybot.ircdb as ircdb
 import supybot.ircmsgs as ircmsgs
 import supybot.ircutils as ircutils
-import supybot.conf as conf
-import supybot.utils as utils
-from supybot.commands import *
 import supybot.schedule as schedule
 import supybot.callbacks as callbacks
-import supybot.world as world
 
 class GNOMEOSTree(callbacks.Plugin):
     def __init__(self, irc):
@@ -54,7 +45,6 @@ class GNOMEOSTree(callbacks.Plugin):
         self._flood_channels = ['#testable']
         self._status_channels = ['#gnome-hackers']
         self._last_task_state = {}
-        self._jsondb_re = re.compile(r'^(\d+\.\d+)-([0-9a-f]+)\.json$')
         tracked_build = 'buildmaster'
         self._workdir = os.path.expanduser('/srv/ostree/ostbuild/%s/' % (tracked_build, ))
         self._workurl = "http://build.gnome.org/ostree/%s/"; % (tracked_build, )
@@ -115,8 +105,6 @@ class GNOMEOSTree(callbacks.Plugin):
             msg = ircutils.mircColor(msg, fg='green')
 
         self._sendTo(self._flood_channels, msg)
-        #last_status_time = last_state['last-status-time'] if last_state else 0
-        #curtime = time.time();
         if success_changed:
             self._sendTo(self._status_channels, msg)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]