diff options
| author | Gauvain Pocentek <gauvain@pocentek.net> | 2019-05-01 09:20:00 +0200 |
|---|---|---|
| committer | Gauvain Pocentek <gauvain@pocentek.net> | 2019-05-01 09:20:00 +0200 |
| commit | 334f9efb18c95bb5df3271d26fa0a55b7aec1c7a (patch) | |
| tree | 4687e10517062a25dfac92cc8e057dffc5c12b4f /gitlab | |
| parent | 16de1b03fde3dbbe8f851614dd1d8c09de102fe5 (diff) | |
| download | gitlab-334f9efb18c95bb5df3271d26fa0a55b7aec1c7a.tar.gz | |
fix: pep8 errors
Errors have not been detected by broken travis runs.
Diffstat (limited to 'gitlab')
| -rw-r--r-- | gitlab/__init__.py | 2 | ||||
| -rw-r--r-- | gitlab/v4/objects.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gitlab/__init__.py b/gitlab/__init__.py index 819096d..9532267 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -359,7 +359,7 @@ class Gitlab(object): def enable_debug(self): import logging try: - from http.client import HTTPConnection + from http.client import HTTPConnection # noqa except ImportError: from httplib import HTTPConnection # noqa diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index da46e9a..57df679 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -2001,7 +2001,8 @@ class ProjectReleaseManager(NoUpdateMixin, RESTManager): _path = '/projects/%(project_id)s/releases' _obj_cls = ProjectRelease _from_parent_attrs = {'project_id': 'id'} - _create_attrs = (('name', 'tag_name', 'description', ), ('ref', 'assets', )) + _create_attrs = (('name', 'tag_name', 'description', ), + ('ref', 'assets', )) class ProjectTag(ObjectDeleteMixin, RESTObject): |
