Commit 53fabac
committed
python: Ensure 'size' & 'download-size' are reported as unknown if None
If the 'size' and 'download-size' are None, set them to MAXUINT64 to
ensure they get reported as 'unknown' in pkcon and other frontends.1 parent 8007172 commit 53fabac
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
244 | 246 | | |
245 | 247 | | |
246 | 248 | | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
247 | 256 | | |
248 | 257 | | |
249 | 258 | | |
| |||
0 commit comments