stormlibpp 0.8.2__tar.gz → 0.8.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/PKG-INFO +1 -1
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/pyproject.toml +1 -1
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/__init__.py +1 -1
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/httpcore.py +6 -1
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp.egg-info/PKG-INFO +1 -1
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/LICENSE +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/README.md +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/setup.cfg +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/_args.py +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/errors.py +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/hstorm.py +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/import.py +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/node.py +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/output.py +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/stormcli.py +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/stormpkg.py +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/telepath.py +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/tmpcortex.py +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/utils.py +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp.egg-info/SOURCES.txt +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp.egg-info/dependency_links.txt +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp.egg-info/requires.txt +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp.egg-info/top_level.txt +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/tests/test_httpcore.py +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/tests/test_node.py +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/tests/test_stormpkg.py +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/tests/test_telepath.py +0 -0
- {stormlibpp-0.8.2 → stormlibpp-0.8.3}/tests/test_utils.py +0 -0
|
@@ -46,7 +46,7 @@ that can be used for testing other tools. It creates a user (``test``) with pass
|
|
|
46
46
|
script will support custom Cortex configuration.
|
|
47
47
|
"""
|
|
48
48
|
|
|
49
|
-
__version__ = "0.8.
|
|
49
|
+
__version__ = "0.8.3"
|
|
50
50
|
|
|
51
51
|
# TODO - Do we want to change this to only import submods, or do we even need that?
|
|
52
52
|
from . import errors
|
|
@@ -270,7 +270,12 @@ class HttpCortex:
|
|
|
270
270
|
# Since we're chunking the response, occasionally we get part of a JSON
|
|
271
271
|
# doc instead of all of it, which will cause this error. Try reading more
|
|
272
272
|
# chunks until there's a readable JSON doc.
|
|
273
|
-
|
|
273
|
+
# This happens most often when very large nodes are returned by a Cortex.
|
|
274
|
+
err_str = str(err)
|
|
275
|
+
if (
|
|
276
|
+
"Unterminated string starting at" in err_str
|
|
277
|
+
or err_str.startswith("Expecting")
|
|
278
|
+
):
|
|
274
279
|
continue
|
|
275
280
|
else:
|
|
276
281
|
raise err
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|