__authors__ = "Tim Savage"
__author_email__ = "tim@savage.company"
__copyright__ = "Copyright (C) 2014 Tim Savage"
__version__ = "1.0"

# Disable logging if an explicit handler is not added
try:
    import logging
    logging.getLogger('odin').addHandler(logging.NullHandler())
except AttributeError:
    pass  # Fallback for python 2.6

from odin.fields import *  # noqa
from odin.fields.composite import *  # noqa
from odin.fields.virtual import *  # noqa
from odin.mapping import *  # noqa
from odin.resources import Resource  # noqa
from odin.adapters import ResourceAdapter  # noqa

import logging
logging.getLogger('odin.registration').addHandler(logging.NullHandler())

__authors__ = "Tim Savage"
__author_email__ = "tim@savage.company"
__copyright__ = "Copyright (C) 2014 Tim Savage"
__version__ = "1.0"

from odin.fields import *  # noqa
from odin.fields.composite import *  # noqa
from odin.fields.virtual import *  # noqa
from odin.mapping import *  # noqa
from odin.resources import Resource  # noqa
from odin.adapters import ResourceAdapter  # noqa

Remove Python 2.6 backwards compatibility
Remove Python 2.6 backwards compatibility

+ import logging
+ logging.getLogger('odin.registration').addHandler(logging.NullHandler())
+ 
  __authors__ = "Tim Savage"
  __author_email__ = "tim@savage.company"
  __copyright__ = "Copyright (C) 2014 Tim Savage"
  __version__ = "1.0"
- 
- # Disable logging if an explicit handler is not added
- try:
-     import logging
-     logging.getLogger('odin').addHandler(logging.NullHandler())
- except AttributeError:
-     pass  # Fallback for python 2.6
  
  from odin.fields import *  # noqa
  from odin.fields.composite import *  # noqa
  from odin.fields.virtual import *  # noqa
  from odin.mapping import *  # noqa
  from odin.resources import Resource  # noqa
  from odin.adapters import ResourceAdapter  # noqa
  
Remove Python 2.6 backwards compatibility
## Code Before:
__authors__ = "Tim Savage"
__author_email__ = "tim@savage.company"
__copyright__ = "Copyright (C) 2014 Tim Savage"
__version__ = "1.0"

# Disable logging if an explicit handler is not added
try:
    import logging
    logging.getLogger('odin').addHandler(logging.NullHandler())
except AttributeError:
    pass  # Fallback for python 2.6

from odin.fields import *  # noqa
from odin.fields.composite import *  # noqa
from odin.fields.virtual import *  # noqa
from odin.mapping import *  # noqa
from odin.resources import Resource  # noqa
from odin.adapters import ResourceAdapter  # noqa

## Instruction:
Remove Python 2.6 backwards compatibility
## Code After:
import logging
logging.getLogger('odin.registration').addHandler(logging.NullHandler())

__authors__ = "Tim Savage"
__author_email__ = "tim@savage.company"
__copyright__ = "Copyright (C) 2014 Tim Savage"
__version__ = "1.0"

from odin.fields import *  # noqa
from odin.fields.composite import *  # noqa
from odin.fields.virtual import *  # noqa
from odin.mapping import *  # noqa
from odin.resources import Resource  # noqa
from odin.adapters import ResourceAdapter  # noqa
