summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gitlab/__init__.py2
-rw-r--r--gitlab/v4/objects.py3
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):