diff options
author | Daniel Wagner-Hall <daniel@matrix.org> | 2015-08-11 16:34:17 +0100 |
---|---|---|
committer | Daniel Wagner-Hall <daniel@matrix.org> | 2015-08-11 16:34:17 +0100 |
commit | 9dba813234fdeeef5097572dec9c975a4a83a99b (patch) | |
tree | d7aaaa231047881444f09993ec9b7e978d038c60 | |
parent | Use TypeError instead of ValueError and give a nicer error mesasge (diff) | |
download | synapse-9dba813234fdeeef5097572dec9c975a4a83a99b.tar.xz |
Remove redundant if-guard
The startswith("@") does the job
Diffstat (limited to '')
-rw-r--r-- | synapse/api/auth.py | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py |