diff options
author | Maxim Syabro <maxim@syabro.com> | 2014-02-10 01:58:27 +0800 |
---|---|---|
committer | Maxim Syabro <maxim@syabro.com> | 2014-02-10 01:58:27 +0800 |
commit | 03097c7ace28c5516aacbb1617265e50a9043a84 (patch) | |
tree | c6a6d3d0fdb20eac2bc6315bbbde0272acc8b66c /git/refs/reference.py | |
parent | 0b820e617ab21b372394bf12129c30174f57c5d7 (diff) | |
download | gitpython-03097c7ace28c5516aacbb1617265e50a9043a84.tar.gz |
Fixed NameError
Diffstat (limited to 'git/refs/reference.py')
-rw-r--r-- | git/refs/reference.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/refs/reference.py b/git/refs/reference.py index 29d051a6..284f4c9a 100644 --- a/git/refs/reference.py +++ b/git/refs/reference.py @@ -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__ |