Commit 9b5466e
_apt.py : Used setdefault method to initialize sections dictionary (#60)
Simplifies the code and avoids the need for an explicit try-except block.
Co-authored-by: Michael Webster <[email protected]>1 parent dddfca2 commit 9b5466e
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 120 | + | |
125 | 121 | | |
126 | 122 | | |
127 | 123 | | |
| |||
0 commit comments