diff options
author | Max Wittig <max.wittig@siemens.com> | 2019-05-01 10:11:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-01 10:11:36 +0200 |
commit | a7305980ef4065a6518951fb166b11eec9003b4d (patch) | |
tree | 4687e10517062a25dfac92cc8e057dffc5c12b4f | |
parent | 16de1b03fde3dbbe8f851614dd1d8c09de102fe5 (diff) | |
parent | 334f9efb18c95bb5df3271d26fa0a55b7aec1c7a (diff) | |
download | gitlab-a7305980ef4065a6518951fb166b11eec9003b4d.tar.gz |
Merge pull request #769 from python-gitlab/pep-fixes
fix: pep8 errors
-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): |