Fix typos in services.py
This commit is contained in:
parent
72e9add5af
commit
0f4899bf39
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
import version_repository
|
from version_repository import VersionRepository
|
||||||
import release_type
|
from release_type import ReleaseType
|
||||||
|
|
||||||
class InitReleaseService():
|
class InitReleaseService():
|
||||||
|
|
||||||
def __init__(self, commit_id, file):
|
def __init__(self, commit_id, file):
|
||||||
|
@ -15,7 +16,7 @@ class InitReleaseService():
|
||||||
|
|
||||||
def get_version(self, release_type):
|
def get_version(self, release_type):
|
||||||
self.version_repo = VersionRepository(self.file)
|
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):
|
def create_release_version(self):
|
||||||
commit_message = self.read_commit_message(self.commit_id)
|
commit_message = self.read_commit_message(self.commit_id)
|
||||||
|
|
Loading…
Reference in a new issue