aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/pathoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'libpathod/pathoc.py')
-rw-r--r--libpathod/pathoc.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpathod/pathoc.py b/libpathod/pathoc.py
index 0cc0466d..90f3b98b 100644
--- a/libpathod/pathoc.py
+++ b/libpathod/pathoc.py
@@ -49,6 +49,8 @@ class Pathoc(tcp.TCPClient):
explain: Print request explanation
hexdump: When printing requests or responses, use hex dump output
ignorecodes: Sequence of return codes to ignore
+
+ Returns True if we have a non-ignored response.
"""
try:
r = rparse.parse_request(self.settings, spec)
@@ -94,3 +96,4 @@ class Pathoc(tcp.TCPClient):
else:
if resp:
self._show_summary(fp, *resp)
+ return True