Skip to content

Commit e850ba9

Browse files
fix: broken URL for FAQ about attribute-error-list
The URL was using the version number in the readthedocs link, but that does not exist. Previously the URL for python-gitlab 3.0.0 was: https://python-gitlab.readthedocs.io/en/3.0.0/faq.html#attribute-error-list Which does not exist. Change it to: https://python-gitlab.readthedocs.io/en/stable/faq.html#attribute-error-list
1 parent c01b7c4 commit e850ba9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

gitlab/base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
from types import ModuleType
2222
from typing import Any, Dict, Iterable, NamedTuple, Optional, Tuple, Type
2323

24-
import gitlab
2524
from gitlab import types as g_types
2625
from gitlab.exceptions import GitlabParsingError
2726

@@ -36,8 +35,7 @@
3635

3736

3837
_URL_ATTRIBUTE_ERROR = (
39-
f"https://python-gitlab.readthedocs.io/en/{gitlab.__version__}/"
40-
f"faq.html#attribute-error-list"
38+
"https://python-gitlab.readthedocs.io/en/stable/faq.html#attribute-error-list"
4139
)
4240

4341

0 commit comments

Comments
 (0)