Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork941
Commit679d2e8
committed
Fix exception type in require_remote_ref_path docstring
The require_remote_ref_path decorator has always used ValueError(ever since its introduction ina92ab80) but was documented asusing TypeError.ValueError is the correct exception to raise here, since this isnot any kind of type error or related condition. So the bug wasn'tin the function's behavior, but instead in the way that behaviorwas documented. (The bug was fairly minor, since the function isnot listed in __all__.)1 parent254c82a commit679d2e8
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
|
0 commit comments
Comments
(0)