cli2 6.0.0rc5__tar.gz → 6.0.0rc7__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.0rc5 → cli2-6.0.0rc7}/PKG-INFO +1 -1
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/log.py +2 -2
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2.egg-info/PKG-INFO +1 -1
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/setup.py +1 -1
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/MANIFEST.in +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/__init__.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/asyncio.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/cli.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/cli2.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/colors.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/configuration.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/decorators.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/display.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/examples/__init__.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/examples/conf.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/examples/example.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/examples/example_obj.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/examples/nesting.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/examples/obj.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/examples/obj2.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/examples/test.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/examples/traceback_demo.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/exceptions.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/file.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/find.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/flow2.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/interactive.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/lock.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/mask.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/node.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/notlevenshtein.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/proc.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/queue.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/sphinx.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/table.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/template2.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/test.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/theme.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2/traceback.py +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2.egg-info/SOURCES.txt +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2.egg-info/dependency_links.txt +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2.egg-info/entry_points.txt +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2.egg-info/requires.txt +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/cli2.egg-info/top_level.txt +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/pyproject.toml +0 -0
- {cli2-6.0.0rc5 → cli2-6.0.0rc7}/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, events=None):
|
|
253
253
|
"""
|
|
254
254
|
Parse log file data into a list of entries.
|
|
255
255
|
|
|
@@ -274,7 +274,7 @@ def parse(data):
|
|
|
274
274
|
entries.append(dict(request=data))
|
|
275
275
|
elif data['event'] == 'response':
|
|
276
276
|
entries[-1]['response'] = data
|
|
277
|
-
|
|
277
|
+
elif not events or data['event'] in events:
|
|
278
278
|
entries.append(data)
|
|
279
279
|
|
|
280
280
|
yaml_lines = []
|
|
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
|