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:
d774840
)
With show_raw on boxes table caught now, remove additional check for it.
author
Plom Heller
<plom@plomlompom.com>
Mon, 27 Jul 2026 22:11:38 +0000
(
00:11
+0200)
committer
Plom Heller
<plom@plomlompom.com>
Mon, 27 Jul 2026 22:11:38 +0000
(
00:11
+0200)
bricksplom.py
patch
|
blob
|
history
diff --git
a/bricksplom.py
b/bricksplom.py
index 0b77517e0a0d87fe519d05ebe09b0698f40672aa..0d73038a42be93dcf063f3f975dda613d807b819 100755
(executable)
--- a/
bricksplom.py
+++ b/
bricksplom.py
@@
-807,10
+807,8
@@
class BricksDb:
items = tuple(item for item in items if item.match(p_key, p_val))
if len(items) == 1 and not show_raw:
return items[0].show()
- return CHAR_NEWLINE.join(
- [(item.raw() if isinstance(item, Textfiled) and show_raw
- else str(item))
- for item in items])
+ return CHAR_NEWLINE.join([item.raw() if show_raw else str(item)
+ for item in items])
def main(