diff options
Diffstat (limited to 'gitlab/client.py')
-rw-r--r-- | gitlab/client.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gitlab/client.py b/gitlab/client.py index 2ac5158..bba5c1d 100644 --- a/gitlab/client.py +++ b/gitlab/client.py @@ -208,7 +208,9 @@ class Gitlab: self.__dict__.update(state) # We only support v4 API at this time if self._api_version not in ("4",): - raise ModuleNotFoundError(name=f"gitlab.v{self._api_version}.objects") + raise ModuleNotFoundError( + name=f"gitlab.v{self._api_version}.objects" + ) # pragma: no cover, dead code currently # NOTE: We must delay import of gitlab.v4.objects until now or # otherwise it will cause circular import errors import gitlab.v4.objects |