diff options
| author | Gorka Eguileor <gorka@eguileor.com> | 2020-05-15 20:26:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-15 11:26:24 -0700 |
| commit | 336773da5666cfaec4bd8ca167b5cd40073214a5 (patch) | |
| tree | 9a4d4b616698738f43a7cc50dc0724393c2907cc | |
| parent | 1d247914b413317043a6c98e9aaceeee84018240 (diff) | |
| download | eventlet-336773da5666cfaec4bd8ca167b5cd40073214a5.tar.gz | |
Remove unnecessary assignment in _recv_loop (#601)
In _recv_loop we assign self.fd to local variable fd, but then we don't
use it within the method, so we can remove it.
| -rw-r--r-- | eventlet/greenio/base.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/eventlet/greenio/base.py b/eventlet/greenio/base.py index ce53b54..f516804 100644 --- a/eventlet/greenio/base.py +++ b/eventlet/greenio/base.py @@ -331,7 +331,6 @@ class GreenSocket(object): timeout_exc=socket_timeout('timed out')) def _recv_loop(self, recv_meth, empty_val, *args): - fd = self.fd if self.act_non_blocking: return recv_meth(*args) |
