Skip to content

Commit 03097c7

Browse files
committed
Fixed NameError
1 parent 0b820e6 commit 03097c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/refs/reference.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def require_remote_ref_path(func):
1818
"""A decorator raising a TypeError if we are not a valid remote, based on the path"""
1919
defwrapper(self, *args):
2020
ifnotself.path.startswith(self._remote_common_path_default+"/"):
21-
raiseValueError("ref path does not point to a remote reference: %s"%path)
21+
raiseValueError("ref path does not point to a remote reference: %s"%self.path)
2222
returnfunc(self, *args)
2323
#END wrapper
2424
wrapper.__name__=func.__name__

0 commit comments

Comments
(0)