Commit d27540da authored by Chris Lamb's avatar Chris Lamb 💬

Move module-relative imports to support Python 3.x.

parent df1d1d5a
import sys import sys
from defaults import * from .defaults import *
if sys.argv[1:2] == ['test']: if sys.argv[1:2] == ['test']:
from roles.test import * from .roles.test import *
else: else:
from role import * from .role import *
try: try:
from custom import * from .custom import *
except ImportError: except ImportError:
pass pass
...@@ -8,8 +8,8 @@ from celery.schedules import crontab ...@@ -8,8 +8,8 @@ from celery.schedules import crontab
from django.utils.log import DEFAULT_LOGGING from django.utils.log import DEFAULT_LOGGING
from apps import * from .apps import *
from setup_warnings import * from .setup_warnings import *
djcelery.setup_loader() djcelery.setup_loader()
......
# overwritten by build system # overwritten by build system
from roles.local import * from .roles.local import *
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment