From 8be83102b71b17047942434481dba2b9516f4ccf Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Sun, 30 Dec 2007 12:44:30 +0000 Subject: [PATCH] Checker tells it's better not to use == True --- src/common/socks5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/socks5.py b/src/common/socks5.py index 6d70266a8..caa82b679 100644 --- a/src/common/socks5.py +++ b/src/common/socks5.py @@ -932,7 +932,7 @@ class Socks5Receiver(Socks5, IdleObject): elif self.state == 3: # send 'connect' request self.send_raw(self._get_request_buff(self._get_sha1_auth())) elif self.file_props['type'] != 'r': - if self.file_props['paused'] == True: + if self.file_props['paused']: self.idlequeue.plug_idle(self, False, False) return result = self.write_next()