# Path: staticgen/conf.py
# class StaticgenConf(AppConf):
#     class Meta:
#     SITEMAP_URL = None
#     FAIL_SILENTLY = True
#     MULTITHREAD = True
#     BUCKET_NAME = getattr(settings, 'AWS_STORAGE_BUCKET_NAME', '')
#     STATIC_SITE_DOMAIN = None
# 
# Path: staticgen/exceptions.py
# class StaticgenError(Exception):
#     pass


import logging
from django.utils.translation import ugettext_lazy as _
from .conf import settings
from .exceptions import StaticgenError
    from importlib import import_module
    from django.utils.importlib import import_module
        from .staticgen_views import StaticgenView
# -*- coding: utf-8 -*-

from __future__ import unicode_literals




try:
except ImportError:  # pragma: no cover
    # Python < 2.7


logger = logging.getLogger('staticgen')


class StaticgenPool(object):
    def __init__(self):
        self._discovered = False
        self.modules = {}

    def log_error(self, message):
        logger.error(message)
        if not settings.STATICGEN_FAIL_SILENTLY:

# Path: staticgen/conf.py
# class StaticgenConf(AppConf):
#     class Meta:
#     SITEMAP_URL = None
#     FAIL_SILENTLY = True
#     MULTITHREAD = True
#     BUCKET_NAME = getattr(settings, 'AWS_STORAGE_BUCKET_NAME', '')
#     STATIC_SITE_DOMAIN = None
# 
# Path: staticgen/exceptions.py
# class StaticgenError(Exception):
#     pass


# Path: staticgen/staticgen_pool.py
import logging
from django.utils.translation import ugettext_lazy as _
from .conf import settings
from .exceptions import StaticgenError
    from importlib import import_module
    from django.utils.importlib import import_module
        from .staticgen_views import StaticgenView

# -*- coding: utf-8 -*-

from __future__ import unicode_literals




try:
except ImportError:  # pragma: no cover
    # Python < 2.7


logger = logging.getLogger('staticgen')


class StaticgenPool(object):
    def __init__(self):
        self._discovered = False
        self.modules = {}

    def log_error(self, message):
        logger.error(message)
        if not settings.STATICGEN_FAIL_SILENTLY:

            raise StaticgenError(message)