diff --git a/gitlab/__init__.py b/gitlab/__init__.py index 819096d9b..9532267a9 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -359,7 +359,7 @@ def _set_auth_info(self): 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 da46e9aef..57df67932 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):