diff options
author | Nejc Habjan <nejc.habjan@siemens.com> | 2022-07-29 10:31:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-29 10:31:06 +0200 |
commit | 1b7cd31dc9a4a15623ac168eaa355422634e2876 (patch) | |
tree | e6cd9f4b7e85f8d3dae081a126dc47f9f0ed938e /gitlab | |
parent | 7a53c6950bb7df90e2a3f4e6d0436cb5d06c3b46 (diff) | |
parent | 433dba02e0d4462ae84a73d8699fe7f3e07aa410 (diff) | |
download | gitlab-1b7cd31dc9a4a15623ac168eaa355422634e2876.tar.gz |
Merge pull request #2201 from python-gitlab/jlvillal/encoding_warning
chore: make code PEP597 compliant
Diffstat (limited to 'gitlab')
-rw-r--r-- | gitlab/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/config.py b/gitlab/config.py index dc577fc..152ec7e 100644 --- a/gitlab/config.py +++ b/gitlab/config.py @@ -135,7 +135,7 @@ class GitlabConfigParser: def _parse_config(self) -> None: _config = configparser.ConfigParser() - _config.read(self._files) + _config.read(self._files, encoding="utf-8") if self.gitlab_id and not _config.has_section(self.gitlab_id): raise GitlabDataError( |