mirror of https://github.com/zulip/zulip.git
lint: Fix get_stream lint error in actions.py.
This commit is contained in:
parent
36988f9375
commit
debb00b190
|
@ -408,7 +408,7 @@ def build_custom_checkers(by_lang):
|
|||
'exclude': set(['zerver/views/messages.py']),
|
||||
'exclude_line': set([
|
||||
# This is a check for whether a stream rename is invalid because it already exists
|
||||
('zerver/lib/actions.py', 'existing_deactivated_stream = get_stream(new_name, stream.realm)'),
|
||||
('zerver/lib/actions.py', 'get_stream(new_name, stream.realm)'),
|
||||
# This one in check_message is kinda terrible, since it's
|
||||
# how most instances are written, but better to exclude something than nothing
|
||||
('zerver/lib/actions.py', 'stream = get_stream(stream_name, realm)'),
|
||||
|
|
Loading…
Reference in New Issue