Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a730598

Browse filesBrowse files
authored
Merge pull request python-gitlab#769 from python-gitlab/pep-fixes
fix: pep8 errors
2 parents 16de1b0 + 334f9ef commit a730598
Copy full SHA for a730598

File tree

Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed
Open diff view settings
Collapse file

‎gitlab/__init__.py‎

Copy file name to clipboardExpand all lines: gitlab/__init__.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def _set_auth_info(self):
359359
def enable_debug(self):
360360
import logging
361361
try:
362-
from http.client import HTTPConnection
362+
from http.client import HTTPConnection # noqa
363363
except ImportError:
364364
from httplib import HTTPConnection # noqa
365365

Collapse file

‎gitlab/v4/objects.py‎

Copy file name to clipboardExpand all lines: gitlab/v4/objects.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2001,7 +2001,8 @@ class ProjectReleaseManager(NoUpdateMixin, RESTManager):
20012001
_path = '/projects/%(project_id)s/releases'
20022002
_obj_cls = ProjectRelease
20032003
_from_parent_attrs = {'project_id': 'id'}
2004-
_create_attrs = (('name', 'tag_name', 'description', ), ('ref', 'assets', ))
2004+
_create_attrs = (('name', 'tag_name', 'description', ),
2005+
('ref', 'assets', ))
20052006

20062007

20072008
class ProjectTag(ObjectDeleteMixin, RESTObject):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.