[5] Some pyflakes:
landscape/broker/tests/test_exchange.py:1: 'os' imported but unused
landscape/broker/tests/test_exchange.py:8: 'ExchangeStore' imported but unused
[6] get_message_context should retrieve all the data from the database in one query, and pass it to the MessageContext __init__, thus removing the select in there.
[5] Some pyflakes: broker/ tests/test_ exchange. py:1: 'os' imported but unused broker/ tests/test_ exchange. py:8: 'ExchangeStore' imported but unused
landscape/
landscape/
[6] get_message_context should retrieve all the data from the database in one query, and pass it to the MessageContext __init__, thus removing the select in there.
+1!