Update elasticRecheck imports in bot.py
This commit updates the elasticRecheck imports in bot.py for the new file layout. Change-Id: I1875e2026371731be5d31562e0fd224c3f1107e7
This commit is contained in:
		@@ -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']
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user