From 0f4899bf39782ca857403ec0142ec2e8db6eed7b Mon Sep 17 00:00:00 2001 From: bom Date: Wed, 22 Feb 2023 09:59:16 +0100 Subject: [PATCH] Fix typos in services.py --- services.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/services.py b/services.py index 3792d41..542a2ba 100644 --- a/services.py +++ b/services.py @@ -1,5 +1,6 @@ -import version_repository -import release_type +from version_repository import VersionRepository +from release_type import ReleaseType + class InitReleaseService(): def __init__(self, commit_id, file): @@ -15,7 +16,7 @@ class InitReleaseService(): def get_version(self, release_type): self.version_repo = VersionRepository(self.file) - return repo.get_version(release_type) + return self.version_repo.get_version(release_type) def create_release_version(self): commit_message = self.read_commit_message(self.commit_id)