__version__ = '0.10.0'
version = __version__

from rabbitpy.connection import Connection
from rabbitpy.exchange import Exchange
from rabbitpy.message import Message
from rabbitpy.amqp_queue import Queue
from rabbitpy.tx import Tx

from rabbitpy.simple import consume
from rabbitpy.simple import get
from rabbitpy.simple import publish
from rabbitpy.simple import create_queue
from rabbitpy.simple import delete_queue
from rabbitpy.simple import create_direct_exchange
from rabbitpy.simple import create_fanout_exchange
from rabbitpy.simple import create_topic_exchange
from rabbitpy.simple import delete_exchange

import logging

try:
    from logging import NullHandler
except ImportError:
    # Python 2.6 does not have a NullHandler
    class NullHandler(logging.Handler):
        def emit(self, record):
            pass

logging.getLogger('rabbitpy').addHandler(NullHandler())

DEBUG = False

@@ -39,16 +39,300 @@
 sion__%0A%0A
+DEBUG = False%0A%0Aimport logging%0A%0Atry:%0A    from logging import NullHandler%0Aexcept ImportError:%0A    # Python 2.6 does not have a NullHandler%0A    class NullHandler(logging.Handler):%0A        def emit(self, record):%0A            pass%0A%0Alogging.getLogger('rabbitpy').addHandler(NullHandler())%0A%0A
 from rab
@@ -894,288 +894,4 @@
 nge%0A
-%0Aimport logging%0A%0Atry:%0A    from logging import NullHandler%0Aexcept ImportError:%0A    # Python 2.6 does not have a NullHandler%0A    class NullHandler(logging.Handler):%0A        def emit(self, record):%0A            pass%0A%0Alogging.getLogger('rabbitpy').addHandler(NullHandler())%0A%0ADEBUG = False%0A

Fix order of operations issues