| Conditions | 1 | 
| Total Lines | 14 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | import sys  | 
            ||
| 18 | def __init__(self, queue, destinations, testing=False):  | 
            ||
| 19 | """  | 
            ||
| 20 | Initializes the main consumer.  | 
            ||
| 21 | |||
| 22 | """  | 
            ||
| 23 | super().__init__()  | 
            ||
| 24 | |||
| 25 | self.sender = 'Consumer'  | 
            ||
| 26 | self.queue = queue  | 
            ||
| 27 | self.destinations = destinations  | 
            ||
| 28 | self.running = True  | 
            ||
| 29 | self.testing = testing  | 
            ||
| 30 | |||
| 31 | 		printM('Starting.', self.sender) | 
            ||
| 32 | |||
| 58 |