Skip to content

Commit

Permalink
Merge pull request #24 from ssavrim/setuppy
Browse files Browse the repository at this point in the history
fix: repo version error
  • Loading branch information
ssavrim authored Feb 15, 2023
2 parents c8ae04a + b639875 commit 437d787
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion repo/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -3978,7 +3978,11 @@ def __init__(self):
self.bare_git = _FakeBareGit()
self.config = GitConfig.ForUser()

def GetRemote(self, name):
def GetRemote(self, name=None):
"""Get the configuration for a single remote.
Defaults to the current project's remote.
"""
return self.remote

def PreSync(self):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

setup(
name="gitrepo",
version="2.31",
version="2.31.1",
packages=find_packages(),

package_data={
Expand Down

0 comments on commit 437d787

Please sign in to comment.