Skip to content
Browse files

Fix a pylint harmless error in the lsnr authentication codepath

  • Loading branch information...
cvaroqui committed Jun 28, 2019
1 parent e0c61d9 commit f10b10906b268ad900debeaf74012bf956f6d21e
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/
@@ -655,8 +655,8 @@ def authenticate_client_secret(self, headers):
if self.blacklisted(self.addr[0]):
raise ex.excError("sender %s is blacklisted" % self.addr[0])
if bdecode(self.cluster_key) == secret:
self.usr = False
# caller will set self.usr to False, meaning superuser
return False
raise ex.excError("wrong secret")

0 comments on commit f10b109

Please sign in to comment.
You can’t perform that action at this time.