From 02d205ed5a9eeb9515a00bf860134a3522e59907 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Fri, 4 Dec 2020 12:25:45 -0500 Subject: 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 --- b4/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.3