Overview
| Comment: | [build] fix URL id |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | build |
| Files: | files | file ages | folders |
| SHA3-256: |
959afab163e46dafbd84076209d8af21 |
| User & Date: | olr on 2020-04-22 10:58:37 |
| Other Links: | manifest | tags |
Context
|
2020-04-22
| ||
| 13:59 | [build] make data more readable check-in: 448cd58d39 user: olr tags: trunk, build | |
| 10:58 | [build] fix URL id check-in: 959afab163 user: olr tags: trunk, build | |
| 06:20 | [build] new option: force rebuild + code clarification (Python f-strings) check-in: a3f82d3151 user: olr tags: trunk, build | |
Changes
Modified compile_rules_graph.py from [3a1bfb17f3] to [e20a775a4f].
| ︙ | ︙ | |||
581 582 583 584 585 586 587 |
i = 1
for sKey, lValue in dAllActions.items():
if lValue[3] == "-":
if lValue[-1]:
if lValue[-1] not in dTempURL:
dTempURL[lValue[-1]] = i
i += 1
| | | 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 |
i = 1
for sKey, lValue in dAllActions.items():
if lValue[3] == "-":
if lValue[-1]:
if lValue[-1] not in dTempURL:
dTempURL[lValue[-1]] = i
i += 1
lValue[-1] = dTempURL[lValue[-1]]
else:
lValue[-1] = 0
dURL = { v: k for k, v in dTempURL.items() } # reversing key and values
dURL[0] = ""
# end
print(" Total: ", nRule, "rules, ", len(dAllActions), "actions")
print(" Build time: {:.2f} s".format(time.time() - fStartTimer))
|
| ︙ | ︙ |