Skip to content

Commit 027aad1

Browse files
committed
remove lint errors
1 parent ae711a3 commit 027aad1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

channels/layers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ def valid_channel_names(self, names, receive=False):
169169
assert _non_empty_list and _names_type, "names must be a non-empty list"
170170
for channel in names:
171171
self.require_valid_channel_name(channel, receive=receive)
172-
return True
172+
return
173+
173174
def non_local_name(self, name):
174175
"""
175176
Given a channel name, returns the "non-local" part. If the channel name

0 commit comments

Comments
 (0)