Skip to content

Commit

Permalink
Use the same "local import" comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaretnikov committed Nov 24, 2023
1 parent 998512f commit 24be46a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conda-store-server/conda_store_server/orm.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class Build(Base):

@staticmethod
def _get_build_key_version():
# Uses local import to make sure current version is initialized
# Uses local import to make sure BuildKey is initialized
from conda_store_server import BuildKey

return BuildKey.current_version()
Expand All @@ -194,6 +194,7 @@ def _get_build_key_version():

@validates("build_key_version")
def validate_build_key_version(self, key, build_key_version):
# Uses local import to make sure BuildKey is initialized
from conda_store_server import BuildKey

return BuildKey.set_current_version(build_key_version)
Expand Down

0 comments on commit 24be46a

Please sign in to comment.