cli2 6.0.0rc8__tar.gz → 6.0.0rc10__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.
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/PKG-INFO +1 -1
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/log.py +2 -8
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2.egg-info/PKG-INFO +1 -1
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/setup.py +1 -1
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/MANIFEST.in +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/__init__.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/asyncio.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/cli.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/cli2.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/colors.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/configuration.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/decorators.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/display.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/examples/__init__.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/examples/conf.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/examples/example.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/examples/example_obj.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/examples/nesting.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/examples/obj.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/examples/obj2.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/examples/test.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/examples/traceback_demo.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/exceptions.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/file.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/find.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/flow2.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/interactive.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/lock.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/mask.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/node.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/notlevenshtein.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/proc.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/queue.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/sphinx.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/table.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/template2.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/test.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/theme.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2/traceback.py +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2.egg-info/SOURCES.txt +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2.egg-info/dependency_links.txt +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2.egg-info/entry_points.txt +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2.egg-info/requires.txt +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/cli2.egg-info/top_level.txt +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/pyproject.toml +0 -0
- {cli2-6.0.0rc8 → cli2-6.0.0rc10}/setup.cfg +0 -0
|
@@ -249,7 +249,7 @@ def configure(log_file=None):
|
|
|
249
249
|
)
|
|
250
250
|
|
|
251
251
|
|
|
252
|
-
def parse(data
|
|
252
|
+
def parse(data):
|
|
253
253
|
"""
|
|
254
254
|
Parse log file data into a list of entries.
|
|
255
255
|
|
|
@@ -270,13 +270,7 @@ def parse(data, events=None):
|
|
|
270
270
|
if yaml_lines:
|
|
271
271
|
data['json'] = yaml.safe_load('\n'.join(yaml_lines))
|
|
272
272
|
|
|
273
|
-
|
|
274
|
-
entries.append(dict(request=data))
|
|
275
|
-
elif data['event'] == 'response':
|
|
276
|
-
entries[-1]['response'] = data
|
|
277
|
-
elif not events or data['event'] in events:
|
|
278
|
-
entries.append(data)
|
|
279
|
-
|
|
273
|
+
entries.append(data)
|
|
280
274
|
yaml_lines = []
|
|
281
275
|
else:
|
|
282
276
|
yaml_lines.append(line)
|
|
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
|
|
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
|