Repository navigation
Commit 55bbbb4
authored
TCP.submit guarded the open-flow fpout on a truthy extension, while
_finalise checked `is not None`. A dumper registered with an empty
extension writes `{root}/{label}`, so submit reported None for every
open flow that _finalise later reported by path.
Both now build fpout through TCP._output_path, which returns None only
when the format writes no file. The Index.fpout docs say so.
Test: test_an_empty_extension_reports_the_written_file_open_or_finalised
reads fpout mid-capture and after finish.
1 parent 20c8b2f commit 55bbbb4
4 files changed
Lines changed: 54 additions & 4 deletions
File tree
- docs/source/pcapkit/foundation/traceflow
- pcapkit/foundation/traceflow
- data
- tests/foundation/traceflow
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
| 124 | + | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
439 | 458 | | |
440 | 459 | | |
441 | 460 | | |
| |||
478 | 497 | | |
479 | 498 | | |
480 | 499 | | |
481 | | - | |
| 500 | + | |
482 | 501 | | |
483 | 502 | | |
484 | 503 | | |
| |||
550 | 569 | | |
551 | 570 | | |
552 | 571 | | |
553 | | - | |
| 572 | + | |
554 | 573 | | |
555 | 574 | | |
556 | 575 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
555 | 584 | | |
556 | 585 | | |
557 | 586 | | |
0 commit comments