WIP Fix returns and function calls
This commit is contained in:
parent
156d336314
commit
1dc5a1e9e8
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ class VersionRepository():
|
|||
|
||||
def load_file(self):
|
||||
self.file_handler = FileHandler.from_file_path(self.file)
|
||||
return file_handler
|
||||
return self.file_handler
|
||||
|
||||
def write_file(self, version_string):
|
||||
if self.file_handler is None:
|
||||
|
@ -28,7 +28,7 @@ class VersionRepository():
|
|||
def get(cls, file):
|
||||
inst = cls(file)
|
||||
|
||||
file_handler= inst.load_file(file)
|
||||
file_handler = inst.load_file()
|
||||
version_list, is_snapshot = inst.parse_file(file_handler)
|
||||
|
||||
inst.version_list = version_list
|
||||
|
|
Loading…
Reference in a new issue