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:
0b088d4
)
Increase BrickListing item-count indent, to accommodate for larger numbers.
master
author
Plom Heller
<plom@plomlompom.com>
Thu, 13 Aug 2026 20:01:11 +0000
(22:01 +0200)
committer
Plom Heller
<plom@plomlompom.com>
Thu, 13 Aug 2026 20:01:11 +0000
(22:01 +0200)
src/bricksplom/misc.py
patch
|
blob
|
history
diff --git
a/src/bricksplom/misc.py
b/src/bricksplom/misc.py
index 221b56c42b86789bd6885f8b8d0b1ad5c38cfce0..32137144f73a587e87439e83ae895122ed906c7a 100644
(file)
--- a/
src/bricksplom/misc.py
+++ b/
src/bricksplom/misc.py
@@
-631,7
+631,7
@@
class BrickSet(Textfiled, WithDb, Lookupable):
return (f'{self.id_indented()} '
f'{self._is_in_str}{self.description}{CHAR_NEWLINE}'
+ self._format_paginated(lambda count, p_id, comment:
return (f'{self.id_indented()} '
f'{self._is_in_str}{self.description}{CHAR_NEWLINE}'
+ self._format_paginated(lambda count, p_id, comment:
- f' {count:
2
} {Brick.indent_id(p_id)}'
+ f' {count:
4
} {Brick.indent_id(p_id)}'
+ (f' {comment}' if comment else '')))
def __str__(
+ (f' {comment}' if comment else '')))
def __str__(