From 19feb1e6fe9af791812db862da03f60723ba4a2f Mon Sep 17 00:00:00 2001 From: jalr Date: Mon, 7 Oct 2019 19:50:34 +0200 Subject: [PATCH] fix: constructing Gitlab object without authentication unauthenticated access is broken since #876 was merged --- gitlab/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlab/__init__.py b/gitlab/__init__.py index 89253ca1e..eafbda8d5 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -355,7 +355,7 @@ def _set_auth_info(self): bool(arg) for arg in [self.private_token, self.oauth_token, self.job_token] ) - != 1 + > 1 ): raise ValueError( "Only one of private_token, oauth_token or job_token should "