diff options
author | John L. Villalovos <john@sodarock.com> | 2022-01-09 10:41:20 -0800 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2022-01-09 10:41:20 -0800 |
commit | e850ba9b73546ce413444f6e60255dcb006075a4 (patch) | |
tree | 7e80b60e46a870443474f6543c03500ada38a7c5 /gitlab/base.py | |
parent | c01b7c494192c5462ec673848287ef2a5c9bd737 (diff) | |
download | gitlab-jlvillal/fix_url.tar.gz |
fix: broken URL for FAQ about attribute-error-listjlvillal/fix_url
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
Diffstat (limited to 'gitlab/base.py')
-rw-r--r-- | gitlab/base.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gitlab/base.py b/gitlab/base.py index 6a6e992..6bcdc4a 100644 --- a/gitlab/base.py +++ b/gitlab/base.py @@ -21,7 +21,6 @@ import textwrap from types import ModuleType from typing import Any, Dict, Iterable, NamedTuple, Optional, Tuple, Type -import gitlab from gitlab import types as g_types from gitlab.exceptions import GitlabParsingError @@ -36,8 +35,7 @@ __all__ = [ _URL_ATTRIBUTE_ERROR = ( - f"https://python-gitlab.readthedocs.io/en/{gitlab.__version__}/" - f"faq.html#attribute-error-list" + "https://python-gitlab.readthedocs.io/en/stable/faq.html#attribute-error-list" ) |