Skip to content

Commit

Permalink
fix(main): StubRepository has faux immutability.
Browse files Browse the repository at this point in the history
  • Loading branch information
BradenM committed Dec 11, 2022
1 parent 6c81a93 commit 71feed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micropy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def stubs(self):
repo_list = parse_file_as(list[RepositoryInfo], data.REPO_SOURCES)
repo = StubRepository()
for repo_info in repo_list:
repo.add_repository(repo_info)
repo = repo.add_repository(repo_info)
return StubManager(resource=data.STUB_DIR, repos=[repo])

@utils.lazy_property
Expand Down

0 comments on commit 71feed2

Please sign in to comment.