Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

github webhook: Remove unused exception class.

Steve Howell040bf8212204
diff --git a/zerver/webhooks/github/view.py b/zerver/webhooks/github/view.py
index 969055d556f..08c99c9d0f6 100644
--- a/zerver/webhooks/github/view.py
+++ b/zerver/webhooks/github/view.py
@@ -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']