Commit 7c3c025
committed
Use TrustedMetadataSet.root property consistently
In order to consistently use the 'root' property internally,
just try/except the KeyError during the loading of initial
trusted root when 'root' key does not exist yet.
Signed-off-by: Teodora Sechkova <[email protected]>1 parent d9b0956 commit 7c3c025
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
180 | 182 | | |
181 | 183 | | |
182 | 184 | | |
| |||
0 commit comments