zulip/zerver
Anders Kaseorg 9efda71a4b get_realm: raise DoesNotExist instead of returning None.
This makes the implementation of `get_realm` consistent with its
declared return type of `Realm` rather than `Optional[Realm]`.

Fixes #12263.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-05-06 21:58:16 -07:00
..
data_import lint: Fix code that evaded our lint checks for string % non-tuple. 2019-04-23 15:21:37 -07:00
lib get_realm: raise DoesNotExist instead of returning None. 2019-05-06 21:58:16 -07:00
management management: Don't use sys.exit(1). 2019-05-03 14:20:39 -07:00
migrations settings: Migrate to create_stream_policy structure. 2019-05-06 16:27:55 -07:00
openapi settings: Migrate to create_stream_policy structure. 2019-05-06 16:27:55 -07:00
templatetags render_markdown_path: Convert dicts to dict item tuples for caching. 2019-04-22 13:53:18 -07:00
tests get_realm: raise DoesNotExist instead of returning None. 2019-05-06 21:58:16 -07:00
tornado tornado: Remove unused imports. 2019-02-02 17:33:13 -08:00
views get_realm: raise DoesNotExist instead of returning None. 2019-05-06 21:58:16 -07:00
webhooks webhooks/jira: Include issue title in messages. 2019-05-03 20:03:31 -02:30
worker public_export: Add backend API endpoint for triggering export. 2019-04-26 17:24:29 -07:00
__init__.py
apps.py python: Mark intentionally unused imports with noop statements. 2019-02-22 16:54:47 -08:00
context_processors.py get_realm: raise DoesNotExist instead of returning None. 2019-05-06 21:58:16 -07:00
decorator.py rate_limiter: Generalise some rate_limit_user code. 2019-05-01 12:54:32 -07:00
filters.py filters: Don't include realm_counts/installation_counts in errors. 2019-04-30 14:10:59 -07:00
forms.py get_realm: raise DoesNotExist instead of returning None. 2019-05-06 21:58:16 -07:00
logging_handlers.py try_git_describe: Set cwd, not --git-dir. 2019-02-28 14:59:33 -08:00
middleware.py get_realm: raise DoesNotExist instead of returning None. 2019-05-06 21:58:16 -07:00
models.py get_realm: raise DoesNotExist instead of returning None. 2019-05-06 21:58:16 -07:00
signals.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
static_header.txt