jenkins-bot submitted this change.
[FIX] edit summary
Default was changed from None to '' in
Ib076abaa58a963634d9ee3d31cd2f05ed878a50b
Bug: T265968
Change-Id: Ie4f824620603b639fb015661523ed0a12f672920
---
M scripts/reflinks.py
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/reflinks.py b/scripts/reflinks.py
index c0aa235..be0d124 100755
--- a/scripts/reflinks.py
+++ b/scripts/reflinks.py
@@ -414,10 +414,10 @@
break
if code:
manual += '/{}'.format(code)
- if self.opt.summary is None:
- self.msg = i18n.twtranslate(self.site, 'reflinks-msg', locals())
- else:
+ if self.opt.summary:
self.msg = self.opt.summary
+ else:
+ self.msg = i18n.twtranslate(self.site, 'reflinks-msg', locals())
local = i18n.translate(self.site, badtitles)
if local:
To view, visit change 635236. To unsubscribe, or for help writing mail filters, visit settings.