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



commit 747bf229c56bfe1bc78e02981c52668e8f851e66
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 |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/extras/supybot/GNOMEOSTree/plugin.py b/extras/supybot/GNOMEOSTree/plugin.py
index ad390bf..be4539d 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):
@@ -52,7 +43,6 @@ class GNOMEOSTree(callbacks.Plugin):
         schedule.addPeriodicEvent(self._query_new_tasks, 1, now=False)
         self._irc = irc
         self._last_task_versions = {}
-        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, )


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