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 d5cad41

Browse filesBrowse files
committed
Fix style
1 parent 137b637 commit d5cad41
Copy full SHA for d5cad41

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

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

‎gitlab/exceptions.py‎

Copy file name to clipboardExpand all lines: gitlab/exceptions.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ class GitlabMRClosedError(GitlabOperationError):
110110
class GitlabMROnBuildSuccessError(GitlabOperationError):
111111
pass
112112

113+
113114
class GitlabServiceSlackError(GitlabOperationError):
114115
pass
115116

Collapse file

‎gitlab/objects.py‎

Copy file name to clipboardExpand all lines: gitlab/objects.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2069,7 +2069,8 @@ def share(self, group_id, group_access, **kwargs):
20692069

20702070
def slack_service(self, webhook, username=None, channel=None, **kwargs):
20712071
url = "/projects/%s/services/slack" % self.id
2072-
r = self.gitlab._raw_put(url, data={'webhook': webhook, 'username': username, 'channel': channel}, **kwargs)
2072+
r = self.gitlab._raw_put(url, data={'webhook': webhook,
2073+
'username': username, 'channel': channel}, **kwargs)
20732074
raise_error_from_response(r, GitlabServiceSlackError)
20742075

20752076

0 commit comments

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