Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed NameError
  • Loading branch information
syabro committed Feb 9, 2014
commit 03097c7ace28c5516aacbb1617265e50a9043a84
2 changes: 1 addition & 1 deletion git/refs/reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def require_remote_ref_path(func):
"""A decorator raising a TypeError if we are not a valid remote, based on the path"""
def wrapper(self, *args):
if not self.path.startswith(self._remote_common_path_default + "/"):
raise ValueError("ref path does not point to a remote reference: %s" % path)
raise ValueError("ref path does not point to a remote reference: %s" % self.path)
return func(self, *args)
#END wrapper
wrapper.__name__ = func.__name__
Expand Down