| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,7 +18,7 @@ def require_remote_ref_path(func): | |||
| 18 | 18 | """A decorator raising a TypeError if we are not a valid remote, based on the path""" | |
| 19 | 19 | def wrapper(self, *args): | |
| 20 | 20 | if not self.path.startswith(self._remote_common_path_default + "/"): | |
| 21 | - raise ValueError("ref path does not point to a remote reference: %s" % path) | ||
| 21 | + raise ValueError("ref path does not point to a remote reference: %s" % self.path) | ||
| 22 | 22 | return func(self, *args) | |
| 23 | 23 | #END wrapper | |
| 24 | 24 | wrapper.__name__ = func.__name__ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments