Skip to content

Commit

Permalink
Put import at the top
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Jun 8, 2018
1 parent 9a79839 commit 1825ea5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/galaxy/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@
from galaxy.web.stack import application_stack_instance
from galaxy.webapps.galaxy.config_watchers import ConfigWatchers
from galaxy.webhooks import WebhooksRegistry
from tool_shed.galaxy_install import update_repository_manager

from tool_shed.galaxy_install import (
installed_repository_manager,
update_repository_manager
)

log = logging.getLogger(__name__)
app = None
Expand Down Expand Up @@ -84,7 +86,6 @@ def __init__(self, **kwargs):
self._configure_models(check_migrate_databases=True, check_migrate_tools=check_migrate_tools, config_file=config_file)

# Manage installed tool shed repositories.
from tool_shed.galaxy_install import installed_repository_manager
self.installed_repository_manager = installed_repository_manager.InstalledRepositoryManager(self)

self._configure_datatypes_registry(self.installed_repository_manager)
Expand Down

0 comments on commit 1825ea5

Please sign in to comment.