summaryrefslogtreecommitdiff
path: root/src/c_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_client.py')
-rw-r--r--src/c_client.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/c_client.py b/src/c_client.py
index 897cf8b..6c4ee58 100644
--- a/src/c_client.py
+++ b/src/c_client.py
@@ -2497,10 +2497,7 @@ def _c_reply(self, name):
_c('}')
def _c_reply_has_fds(self):
- for field in self.fields:
- if field.isfd:
- return True
- return False
+ return any(field.isfd for field in self.fields)
def _c_reply_fds(self, name):
'''