From 7c4930d3ca7a15e2bbd15a8b76be3ebcf67184ce Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Sun, 29 Sep 2013 22:20:35 -0400 Subject: [PATCH] Update elasticRecheck imports in bot.py This commit updates the elasticRecheck imports in bot.py for the new file layout. Change-Id: I1875e2026371731be5d31562e0fd224c3f1107e7 --- elastic_recheck/bot.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/elastic_recheck/bot.py b/elastic_recheck/bot.py index 4b24c3f2..41155f92 100755 --- a/elastic_recheck/bot.py +++ b/elastic_recheck/bot.py @@ -132,10 +132,9 @@ class RecheckWatch(threading.Thread): def run(self): # Import here because it needs to happen after daemonization - from elasticRecheck import Classifier - from elasticRecheck import Stream - classifier = Classifier(self.queries) - stream = Stream(self.username, self.host, self.key) + import elastic_recheck.elasticRecheck as er + classifier = er.Classifier(self.queries) + stream = er.Stream(self.username, self.host, self.key) while True: event = stream.get_failed_tempest() change = event['change']['number']