home
·
contact
·
privacy
projects
/
bricksplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eefd8a
)
In consistencies check tolerate if bricks exist only for a recorded design ID's alter...
author
Plom Heller
<plom@plomlompom.com>
Tue, 21 Jul 2026 23:05:36 +0000
(
01:05
+0200)
committer
Plom Heller
<plom@plomlompom.com>
Tue, 21 Jul 2026 23:05:36 +0000
(
01:05
+0200)
bricksplom.py
patch
|
blob
|
history
diff --git
a/bricksplom.py
b/bricksplom.py
index 821ff16e7ec3a304807192f99d19f091161f95d3..b2bd6a4ef808b16de191cac8ca301a8a0ce2e2b9 100755
(executable)
--- a/
bricksplom.py
+++ b/
bricksplom.py
@@
-728,9
+728,9
@@
class BricksDb:
fails += [f'missing design of ID: {d_id}']
# check all recorded designs have matching bricks (at least via alts)
- for design_id
in self.designs
:
+ for design_id
, design in self.designs.items()
:
if not [p for p in self.bricks.values()
- if p.design_id
== design_id
]:
+ if p.design_id
in design.all_ids
]:
fails += [f'missing bricks for design of ID: {design_id}']
# check all bricks' colors are recorded