Commit 1db1844
authored
Fix db bootstrap logic (#1180)
An empty db has a current version of 'None',
so we have to make sure to check for that first and leave the loop
before encountering the '>=' comparison to avoid a TypeError.
Signed-off-by: Friedrich Zahn <friedrich.zahn@alasca.cloud>1 parent 0887aa3 commit 1db1844
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
198 | | - | |
199 | 197 | | |
200 | 198 | | |
201 | 199 | | |
202 | 200 | | |
203 | 201 | | |
204 | 202 | | |
| 203 | + | |
205 | 204 | | |
206 | 205 | | |
207 | 206 | | |
| |||
219 | 218 | | |
220 | 219 | | |
221 | 220 | | |
| 221 | + | |
| 222 | + | |
222 | 223 | | |
223 | 224 | | |
224 | 225 | | |
| |||
0 commit comments