Skip to content
Snippets Groups Projects
Commit 58421fa7 authored by John Chilton's avatar John Chilton
Browse files

Fix linting broken by @natefoo.

parent 2e64a0ba
No related branches found
No related tags found
No related merge requests found
......@@ -116,6 +116,7 @@ def _new_curl_object():
except NameError:
raise ImportError(PYCURL_UNAVAILABLE_MESSAGE)
def _error_curl_to_pulsar(code):
if code == pycurl.E_OPERATION_TIMEDOUT:
return PulsarClientTransportError.TIMEOUT
......
......@@ -7,5 +7,5 @@ logging-filter=pulsar,paste
logging-level=INFO
[flake8]
max-line-length = 150
max-complexity = 9
max-complexity = 10
exclude = pulsar/util/pastescript
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment