Skip to content

Commit a605589

Browse files
committed
Fix constructing Gitlab object without authentication
unauthenticated access is broken since #876 was merged
1 parent 35cc8c7 commit a605589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def _set_auth_info(self):
355355
bool(arg)
356356
for arg in [self.private_token, self.oauth_token, self.job_token]
357357
)
358-
!= 1
358+
> 1
359359
):
360360
raise ValueError(
361361
"Only one of private_token, oauth_token or job_token should "

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy