8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 181390a + a07547c commit 99d580aCopy full SHA for 99d580a
gitlab/client.py
@@ -355,7 +355,9 @@ def auth(self) -> None:
355
success.
356
"""
357
self.user = self._objects.CurrentUserManager(self).get()
358
- self._check_url(self.user.web_url, path=self.user.username)
+
359
+ if hasattr(self.user, "web_url") and hasattr(self.user, "username"):
360
+ self._check_url(self.user.web_url, path=self.user.username)
361
362
def version(self) -> Tuple[str, str]:
363
"""Returns the version and revision of the gitlab server.
0 commit comments