Skip to content

Commit

Permalink
fixed is clean
Browse files Browse the repository at this point in the history
  • Loading branch information
jirhiker committed Sep 24, 2024
1 parent fd956a7 commit 7d82a0c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pychron/git_archive/repo_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,10 @@ def ahead_behind(self, remote="origin"):
self.debug("ahead behind")

repo = self._repo
ahead, behind = ahead_behind(repo, remote)
if not self._get_remote(remote):
ahead, behind = 0,0
else:
ahead, behind = ahead_behind(repo, remote)

return ahead, behind

Expand Down

0 comments on commit 7d82a0c

Please sign in to comment.