diff options
| author | Nejc Habjan <nejc.habjan@siemens.com> | 2022-06-20 09:17:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-20 09:17:28 +0200 |
| commit | 8e0cd8b398f5fd58554bf873b48428b4781eaa47 (patch) | |
| tree | 52aa1cc6c34ca221c7af4ad7725fab75bfe77280 /gitlab | |
| parent | 22c5db4bcccf592f5cf7ea34c336208c21769896 (diff) | |
| parent | eeab035ab715e088af73ada00e0a3b0c03527187 (diff) | |
| download | gitlab-8e0cd8b398f5fd58554bf873b48428b4781eaa47.tar.gz | |
Merge pull request #2077 from python-gitlab/jlvillal/pylint
chore: fix issue found with pylint==2.14.3
Diffstat (limited to 'gitlab')
| -rw-r--r-- | gitlab/client.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gitlab/client.py b/gitlab/client.py index f5d12df..c68448e 100644 --- a/gitlab/client.py +++ b/gitlab/client.py @@ -484,9 +484,7 @@ class Gitlab: if (self.http_username and not self.http_password) or ( not self.http_username and self.http_password ): - raise ValueError( - "Both http_username and http_password should " "be defined" - ) + raise ValueError("Both http_username and http_password should be defined") if self.oauth_token and self.http_username: raise ValueError( "Only one of oauth authentication or http " |
