
from __future__ import absolute_import
import sys

from .version import __version__, __version_info__  # NOQA

# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
try:
    from .celery import app as celery_app
except ImportError:
    sys.stderr.write('Not importing celery... Ignore if this is running setup.py.\n')

__copyright__ = "Copyright 2014, Digital Reasoning"
__license__ = "Apache License Version 2.0, January 2004"
__maintainer__ = "https://github.com/stackdio/stackdio"


from __future__ import absolute_import
import sys

from .version import __version__, __version_info__  # NOQA

# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
try:
    from .celery import app as celery_app
except ImportError:
    sys.stderr.write("Not importing celery... "
                     "Ignore if this if you're currently running setup.py.\n")

__copyright__ = "Copyright 2014, Digital Reasoning"
__license__ = "Apache License Version 2.0, January 2004"
__maintainer__ = "https://github.com/stackdio/stackdio"

Print a more useful warning message
Print a more useful warning message

  
  from __future__ import absolute_import
  import sys
  
  from .version import __version__, __version_info__  # NOQA
  
  # This will make sure the app is always imported when
  # Django starts so that shared_task will use this app.
  try:
      from .celery import app as celery_app
  except ImportError:
-     sys.stderr.write('Not importing celery... Ignore if this is running setup.py.\n')
+     sys.stderr.write("Not importing celery... "
+                      "Ignore if this if you're currently running setup.py.\n")
  
  __copyright__ = "Copyright 2014, Digital Reasoning"
  __license__ = "Apache License Version 2.0, January 2004"
  __maintainer__ = "https://github.com/stackdio/stackdio"
  
Print a more useful warning message
## Code Before:

from __future__ import absolute_import
import sys

from .version import __version__, __version_info__  # NOQA

# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
try:
    from .celery import app as celery_app
except ImportError:
    sys.stderr.write('Not importing celery... Ignore if this is running setup.py.\n')

__copyright__ = "Copyright 2014, Digital Reasoning"
__license__ = "Apache License Version 2.0, January 2004"
__maintainer__ = "https://github.com/stackdio/stackdio"

## Instruction:
Print a more useful warning message
## Code After:

from __future__ import absolute_import
import sys

from .version import __version__, __version_info__  # NOQA

# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
try:
    from .celery import app as celery_app
except ImportError:
    sys.stderr.write("Not importing celery... "
                     "Ignore if this if you're currently running setup.py.\n")

__copyright__ = "Copyright 2014, Digital Reasoning"
__license__ = "Apache License Version 2.0, January 2004"
__maintainer__ = "https://github.com/stackdio/stackdio"
