Skip to content

Commit

Permalink
Drop old repositories, group repo functions in one module
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Sep 21, 2023
1 parent 99fb902 commit ade088b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/galaxy/managers/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
)
from galaxy.model import UserQuotaUsage
from galaxy.model.base import transaction
from galaxy.model.repositories.user import (
from galaxy.model.repositories import (
get_user_by_email,
get_user_by_username,
)
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/controllers/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
)
from galaxy.exceptions import Conflict
from galaxy.managers import users
from galaxy.model.repositories.user import get_user_by_email
from galaxy.model.repositories import get_user_by_email
from galaxy.security.validate_user_input import (
validate_email,
validate_publicname,
Expand Down
2 changes: 1 addition & 1 deletion lib/tool_shed/test/base/test_db_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import galaxy.model
import galaxy.model.tool_shed_install
import tool_shed.webapp.model as model
from galaxy.model.repositories.user import get_user_by_username
from galaxy.model.repositories import get_user_by_username

log = logging.getLogger("test.tool_shed.test_db_util")

Expand Down
2 changes: 1 addition & 1 deletion lib/tool_shed/webapp/controllers/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
web,
)
from galaxy.model.base import transaction
from galaxy.model.repositories.user import get_user_by_username
from galaxy.model.repositories import get_user_by_username
from galaxy.tool_shed.util import dependency_display
from galaxy.tools.repositories import ValidationContext
from galaxy.web.form_builder import (
Expand Down
2 changes: 1 addition & 1 deletion test/integration/test_user_preferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
put,
)

from galaxy.model.repositories.user import get_user_by_email
from galaxy.model.repositories import get_user_by_email
from galaxy_test.driver import integration_util

TEST_USER_EMAIL = "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/test_vault_extra_prefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
put,
)

from galaxy.model.repositories.user import get_user_by_email
from galaxy.model.repositories import get_user_by_email
from galaxy_test.driver import integration_util

TEST_USER_EMAIL = "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/test_vault_file_source.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import tempfile

from galaxy.model.repositories.user import get_user_by_email
from galaxy.model.repositories import get_user_by_email
from galaxy.security.vault import UserVaultWrapper
from galaxy_test.base import api_asserts
from galaxy_test.base.populators import DatasetPopulator
Expand Down

0 comments on commit ade088b

Please sign in to comment.