mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
github webhook: Remove unused exception class.
This commit is contained in:
@@ -30,9 +30,6 @@ from zerver.models import UserProfile
|
||||
|
||||
fixture_to_headers = get_http_headers_from_filename("HTTP_X_GITHUB_EVENT")
|
||||
|
||||
class UnknownEventType(Exception):
|
||||
pass
|
||||
|
||||
def get_opened_or_update_pull_request_body(payload: Dict[str, Any],
|
||||
include_title: bool=False) -> str:
|
||||
pull_request = payload['pull_request']
|
||||
|
||||
Reference in New Issue
Block a user