8000 fix: constructing Gitlab object without authentication · jalr/python-gitlab@19feb1e · GitHub
[go: up one dir, main page]

Skip to content

Commit 19feb1e

Browse files
committed
fix: constructing Gitlab object without authentication
unauthenticated access is broken since python-gitlab#876 was merged
1 parent 35cc8c7 commit 19feb1e

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)
0