mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
codebase: Remove multiple whitespaces after comma.
This commit is contained in:
@@ -333,7 +333,7 @@ def export_from_config(response, config, seed_object=None, context=None):
|
|||||||
rows = list(query)
|
rows = list(query)
|
||||||
|
|
||||||
elif config.id_source:
|
elif config.id_source:
|
||||||
# In this mode, we are the figurative Blog, and we now
|
# In this mode, we are the figurative Blog, and we now
|
||||||
# need to look at the current response to get all the
|
# need to look at the current response to get all the
|
||||||
# blog ids from the Article rows we fetched previously.
|
# blog ids from the Article rows we fetched previously.
|
||||||
model = config.model
|
model = config.model
|
||||||
|
|||||||
@@ -344,7 +344,7 @@ def get_subject_based_on_event(event, payload):
|
|||||||
return get_repo_name(payload)
|
return get_repo_name(payload)
|
||||||
|
|
||||||
def get_event(request, payload, branches):
|
def get_event(request, payload, branches):
|
||||||
# type: (HttpRequest, Dict[str, Any], Optional[Text]) -> Optional[str]
|
# type: (HttpRequest, Dict[str, Any], Optional[Text]) -> Optional[str]
|
||||||
event = request.META['HTTP_X_GITLAB_EVENT']
|
event = request.META['HTTP_X_GITLAB_EVENT']
|
||||||
if event == 'Issue Hook':
|
if event == 'Issue Hook':
|
||||||
action = payload['object_attributes'].get('action')
|
action = payload['object_attributes'].get('action')
|
||||||
|
|||||||
Reference in New Issue
Block a user