diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-12-04 12:25:45 -0500 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-12-04 12:25:45 -0500 |
commit | 02d205ed5a9eeb9515a00bf860134a3522e59907 (patch) | |
tree | ba5ba4f5389dd268f43fcd54ef81a718ead86a1f | |
parent | 3e231ea74ade46fbc5ebdee9d21bf25b8dd014d4 (diff) | |
download | b4-02d205ed5a9eeb9515a00bf860134a3522e59907.tar.gz |
Limit slug length by 100 characters
Some subjects are still too long and hit FS file length limits. Since
they are supposed to be human-friendly anyway, limit them by 100
characters.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r-- | b4/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/b4/__init__.py b/b4/__init__.py index 76e97f6..695fe68 100644 --- a/b4/__init__.py +++ b/b4/__init__.py @@ -481,7 +481,7 @@ class LoreSeries: if self.revision != 1: slug = 'v%s_%s' % (self.revision, slug) - return slug + return slug[:100] def save_am_mbox(self, mbx, noaddtrailers=False, covertrailers=False, trailer_order=None, addmysob=False, addlink=False, linkmask=None, cherrypick=None, copyccs=False): |