Grammalecte  Check-in [959afab163]

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: 959afab163e46dafbd84076209d8af21e4bc7f0d50324654805bd9b7ae0c87b6
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: build, trunk
10:58
[build] fix URL id check-in: 959afab163 user: olr tags: build, trunk
06:20
[build] new option: force rebuild + code clarification (Python f-strings) check-in: a3f82d3151 user: olr tags: build, trunk
Changes

Modified compile_rules_graph.py from [3a1bfb17f3] to [e20a775a4f].

   581    581       i = 1
   582    582       for sKey, lValue in dAllActions.items():
   583    583           if lValue[3] == "-":
   584    584               if lValue[-1]:
   585    585                   if lValue[-1] not in dTempURL:
   586    586                       dTempURL[lValue[-1]] = i
   587    587                       i += 1
   588         -                lValue[-1] = i
          588  +                lValue[-1] = dTempURL[lValue[-1]]
   589    589               else:
   590    590                   lValue[-1] = 0
   591    591       dURL = { v: k  for k, v in dTempURL.items() } # reversing key and values
   592    592       dURL[0] = ""
   593    593       # end
   594    594       print("  Total: ", nRule, "rules, ", len(dAllActions), "actions")
   595    595       print("  Build time: {:.2f} s".format(time.time() - fStartTimer))