
"""DMARC related tools for Modoboa."""

from __future__ import unicode_literals

from pkg_resources import get_distribution, DistributionNotFound


try:
    __version__ = get_distribution(__name__).version
except DistributionNotFound:
    # package is not installed
    pass

default_app_config = "modoboa_webmail.apps.WebmailConfig"


"""DMARC related tools for Modoboa."""

from __future__ import unicode_literals

from pkg_resources import get_distribution, DistributionNotFound


try:
    __version__ = get_distribution(__name__).version
except DistributionNotFound:
    # package is not installed
    __version__ = '9.9.9'

default_app_config = "modoboa_webmail.apps.WebmailConfig"

Fix crash in development mode with python 3
Fix crash in development mode with python 3

  
  """DMARC related tools for Modoboa."""
  
  from __future__ import unicode_literals
  
  from pkg_resources import get_distribution, DistributionNotFound
  
  
  try:
      __version__ = get_distribution(__name__).version
  except DistributionNotFound:
      # package is not installed
-     pass
+     __version__ = '9.9.9'
  
  default_app_config = "modoboa_webmail.apps.WebmailConfig"
  
Fix crash in development mode with python 3
## Code Before:

"""DMARC related tools for Modoboa."""

from __future__ import unicode_literals

from pkg_resources import get_distribution, DistributionNotFound


try:
    __version__ = get_distribution(__name__).version
except DistributionNotFound:
    # package is not installed
    pass

default_app_config = "modoboa_webmail.apps.WebmailConfig"

## Instruction:
Fix crash in development mode with python 3
## Code After:

"""DMARC related tools for Modoboa."""

from __future__ import unicode_literals

from pkg_resources import get_distribution, DistributionNotFound


try:
    __version__ = get_distribution(__name__).version
except DistributionNotFound:
    # package is not installed
    __version__ = '9.9.9'

default_app_config = "modoboa_webmail.apps.WebmailConfig"
