Skip to content

Commit

Permalink
Use command form of pull directly
Browse files Browse the repository at this point in the history
  • Loading branch information
MsRandom committed Dec 12, 2024
1 parent 7272587 commit fb903bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator/base_validator/auto_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _check_for_updates(self):
except Exception as e:
logger.error("Unable to stash local changes", exc_info=e)

repo.remotes.origin.pull(repo.head.name)
repo.git.pull()

new_version = repo.head.commit.hexsha

Expand Down

0 comments on commit fb903bc

Please sign in to comment.