From cfad4fa8a650c784fb042344e998d87ed6ee1ad3 Mon Sep 17 00:00:00 2001 From: Adarnof Date: Tue, 10 Oct 2017 10:41:25 -0400 Subject: [PATCH] Pycharm refactor failed me. --- allianceauth/authentication/tasks.py | 2 +- allianceauth/corputils/tasks.py | 2 +- allianceauth/eveonline/tasks.py | 2 +- allianceauth/services/modules/discord/tasks.py | 2 +- allianceauth/services/modules/discourse/tasks.py | 2 +- allianceauth/services/modules/mumble/tasks.py | 2 +- allianceauth/services/modules/openfire/tasks.py | 2 +- allianceauth/services/modules/phpbb3/tasks.py | 2 +- allianceauth/services/modules/seat/tasks.py | 2 +- allianceauth/services/modules/smf/tasks.py | 2 +- allianceauth/services/modules/teamspeak3/tasks.py | 2 +- allianceauth/services/tasks.py | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/allianceauth/authentication/tasks.py b/allianceauth/authentication/tasks.py index d495e4c9..67620481 100644 --- a/allianceauth/authentication/tasks.py +++ b/allianceauth/authentication/tasks.py @@ -4,7 +4,7 @@ from esi.errors import TokenExpiredError, TokenInvalidError from esi.models import Token from allianceauth.authentication.models import CharacterOwnership -from allianceauth.celeryapp import app +from allianceauth.celery import app logger = logging.getLogger(__name__) diff --git a/allianceauth/corputils/tasks.py b/allianceauth/corputils/tasks.py index 584f930e..d78ac3d2 100644 --- a/allianceauth/corputils/tasks.py +++ b/allianceauth/corputils/tasks.py @@ -1,4 +1,4 @@ -from allianceauth.celeryapp import app +from allianceauth.celery import app from allianceauth.corputils import CorpStats diff --git a/allianceauth/eveonline/tasks.py b/allianceauth/eveonline/tasks.py index 399b9f78..115723f4 100644 --- a/allianceauth/eveonline/tasks.py +++ b/allianceauth/eveonline/tasks.py @@ -1,6 +1,6 @@ import logging -from allianceauth.celeryapp import app +from allianceauth.celery import app from .models import EveAllianceInfo from .models import EveCharacter from .models import EveCorporationInfo diff --git a/allianceauth/services/modules/discord/tasks.py b/allianceauth/services/modules/discord/tasks.py index f0076d25..c53d048c 100644 --- a/allianceauth/services/modules/discord/tasks.py +++ b/allianceauth/services/modules/discord/tasks.py @@ -5,7 +5,7 @@ from django.contrib.auth.models import User from django.core.exceptions import ObjectDoesNotExist from allianceauth.notifications import notify -from allianceauth.celeryapp import app +from allianceauth.celery import app from .manager import DiscordOAuthManager, DiscordApiBackoff from .models import DiscordUser diff --git a/allianceauth/services/modules/discourse/tasks.py b/allianceauth/services/modules/discourse/tasks.py index bdfa14ce..898dc27c 100644 --- a/allianceauth/services/modules/discourse/tasks.py +++ b/allianceauth/services/modules/discourse/tasks.py @@ -3,7 +3,7 @@ import logging from django.contrib.auth.models import User from django.core.exceptions import ObjectDoesNotExist -from allianceauth.celeryapp import app +from allianceauth.celery import app from allianceauth.notifications import notify from .manager import DiscourseManager from .models import DiscourseUser diff --git a/allianceauth/services/modules/mumble/tasks.py b/allianceauth/services/modules/mumble/tasks.py index 7a665322..9fc5c65b 100644 --- a/allianceauth/services/modules/mumble/tasks.py +++ b/allianceauth/services/modules/mumble/tasks.py @@ -3,7 +3,7 @@ import logging from django.contrib.auth.models import User from django.core.exceptions import ObjectDoesNotExist -from allianceauth.celeryapp import app +from allianceauth.celery import app from .manager import MumbleManager from .models import MumbleUser diff --git a/allianceauth/services/modules/openfire/tasks.py b/allianceauth/services/modules/openfire/tasks.py index acda91d3..b39c9e97 100644 --- a/allianceauth/services/modules/openfire/tasks.py +++ b/allianceauth/services/modules/openfire/tasks.py @@ -4,7 +4,7 @@ from django.contrib.auth.models import User from django.core.exceptions import ObjectDoesNotExist from allianceauth.notifications import notify -from allianceauth.celeryapp import app +from allianceauth.celery import app from allianceauth.services.modules.openfire.manager import OpenfireManager from .models import OpenfireUser diff --git a/allianceauth/services/modules/phpbb3/tasks.py b/allianceauth/services/modules/phpbb3/tasks.py index ee882c9a..b0d963f2 100644 --- a/allianceauth/services/modules/phpbb3/tasks.py +++ b/allianceauth/services/modules/phpbb3/tasks.py @@ -3,7 +3,7 @@ import logging from django.contrib.auth.models import User from django.core.exceptions import ObjectDoesNotExist -from allianceauth.celeryapp import app +from allianceauth.celery import app from allianceauth.notifications import notify from .manager import Phpbb3Manager from .models import Phpbb3User diff --git a/allianceauth/services/modules/seat/tasks.py b/allianceauth/services/modules/seat/tasks.py index fe1390bb..185e2015 100644 --- a/allianceauth/services/modules/seat/tasks.py +++ b/allianceauth/services/modules/seat/tasks.py @@ -3,7 +3,7 @@ import logging from django.contrib.auth.models import User from django.core.exceptions import ObjectDoesNotExist -from allianceauth.celeryapp import app +from allianceauth.celery import app from allianceauth.notifications import notify from .manager import SeatManager from .models import SeatUser diff --git a/allianceauth/services/modules/smf/tasks.py b/allianceauth/services/modules/smf/tasks.py index a164a3e4..be445e3a 100644 --- a/allianceauth/services/modules/smf/tasks.py +++ b/allianceauth/services/modules/smf/tasks.py @@ -3,7 +3,7 @@ import logging from django.contrib.auth.models import User from django.core.exceptions import ObjectDoesNotExist -from allianceauth.celeryapp import app +from allianceauth.celery import app from allianceauth.notifications import notify from .manager import SmfManager from .models import SmfUser diff --git a/allianceauth/services/modules/teamspeak3/tasks.py b/allianceauth/services/modules/teamspeak3/tasks.py index 7528377a..7a0c2fab 100644 --- a/allianceauth/services/modules/teamspeak3/tasks.py +++ b/allianceauth/services/modules/teamspeak3/tasks.py @@ -3,7 +3,7 @@ import logging from django.contrib.auth.models import User from django.core.exceptions import ObjectDoesNotExist -from allianceauth.celeryapp import app +from allianceauth.celery import app from allianceauth.notifications import notify from .manager import Teamspeak3Manager from .models import AuthTS, TSgroup, UserTSgroup, Teamspeak3User diff --git a/allianceauth/services/tasks.py b/allianceauth/services/tasks.py index 5ec0fcc8..19e4bc55 100644 --- a/allianceauth/services/tasks.py +++ b/allianceauth/services/tasks.py @@ -2,7 +2,7 @@ import logging import redis -from allianceauth.celeryapp import app +from allianceauth.celery import app from .hooks import ServicesHook REDIS_CLIENT = redis.Redis()