Skip to content

Commit ecf109f

Browse files
committed
confluence: wrap black formatter
1 parent f53db77 commit ecf109f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

atlassian/confluence.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,23 +146,23 @@ def page_exists(self, space, title, type=None):
146146
else:
147147
return False
148148

149-
def share_with_others(self,page_id, group, message):
149+
def share_with_others(self, page_id, group, message):
150150
"""
151151
Notify members (currently only groups implemented) about something on that page
152152
"""
153153
url = "rest/share-page/latest/share"
154154
params = {
155155
"contextualPageId": page_id,
156-
#"emails": [],
156+
# "emails": [],
157157
"entityId": page_id,
158158
"entityType": "page",
159159
"groups": group,
160-
"note": message
161-
#"users":[]
160+
"note": message,
161+
# "users":[]
162162
}
163-
r = self.post(url, json=params,headers={"contentType":"application/json; charset=utf-8"},advanced_mode=True)
163+
r = self.post(url, json=params, headers={"contentType": "application/json; charset=utf-8"}, advanced_mode=True)
164164
if r.status_code != 200:
165-
raise Exception("failed sharing content {code}: {reason}".format(code=r.status_code,reason=r.text))
165+
raise Exception("failed sharing content {code}: {reason}".format(code=r.status_code, reason=r.text))
166166

167167
def get_page_child_by_type(self, page_id, type="page", start=None, limit=None, expand=None):
168168
"""

0 commit comments

Comments
 (0)