From 2251747281a3ce0c9beff27d4d6856bdff8897d7 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 18 Feb 2020 15:03:58 +0100 Subject: [PATCH] adhere to comments --- src/galaxy/api/importer.py | 4 ++-- src/galaxy/api/plugin.py | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/galaxy/api/importer.py b/src/galaxy/api/importer.py index 9fa193a..d6b38f9 100644 --- a/src/galaxy/api/importer.py +++ b/src/galaxy/api/importer.py @@ -70,9 +70,9 @@ class Importer: class CollectionImporter(Importer): - def __init__(self, notification_partialy_finished, *args): + def __init__(self, notification_partially_finished, *args): super().__init__(*args) - self._notification_partial_finished = notification_partialy_finished + self._notification_partially_finished = notification_partially_finished async def _import_element(self, id_, context_): try: diff --git a/src/galaxy/api/plugin.py b/src/galaxy/api/plugin.py index 339e579..bcfce3a 100644 --- a/src/galaxy/api/plugin.py +++ b/src/galaxy/api/plugin.py @@ -15,8 +15,8 @@ from galaxy.api.types import ( from galaxy.task_manager import TaskManager from galaxy.api.importer import Importer, CollectionImporter -logger = logging.getLogger(__name__) +logger = logging.getLogger(__name__) class JSONEncoder(json.JSONEncoder): @@ -116,7 +116,6 @@ class Plugin: ) self._subscription_games_importer = CollectionImporter( self._subscriptions_games_partial_import_finished, - self._external_task_manager, "subscription games", self.get_subscription_games,