diff --git a/repo_resource/common.py b/repo_resource/common.py index 6bea21c..bf895e1 100644 --- a/repo_resource/common.py +++ b/repo_resource/common.py @@ -270,7 +270,7 @@ def __get_remote_url(self, remote): return self.__remote_url[remote] def __get_remote_revision(self, remote): - return self.__remote_revision[remote] + return self.__remote_revision.get(remote) def set_rewrite(self, matrix: dict = None): if matrix is None: