Commit 3fd9bd4
committed
dict_gen: Handle case of error opening man file
There may be cases when there is a missing symlink or a man page file
is not accessible. Handle exception of opening that file: do nothing,
return from the generator function.
Signed-off-by: Razvan Deaconescu <[email protected]>1 parent 57e723f commit 3fd9bd4
File tree
1 file changed
+13
-9
lines changed- attack_surface_approximation/dictionaries_generators/heuristics
1 file changed
+13
-9
lines changedLines changed: 13 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
29 | 28 | | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
33 | | - | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
0 commit comments