lint: Fix get_stream lint error in actions.py.

This commit is contained in:
Tim Abbott 2017-03-23 15:50:33 -07:00
parent 36988f9375
commit debb00b190
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ def build_custom_checkers(by_lang):
'exclude': set(['zerver/views/messages.py']), 'exclude': set(['zerver/views/messages.py']),
'exclude_line': set([ 'exclude_line': set([
# This is a check for whether a stream rename is invalid because it already exists # 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 # This one in check_message is kinda terrible, since it's
# how most instances are written, but better to exclude something than nothing # how most instances are written, but better to exclude something than nothing
('zerver/lib/actions.py', 'stream = get_stream(stream_name, realm)'), ('zerver/lib/actions.py', 'stream = get_stream(stream_name, realm)'),