jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/372337 )
Change subject: [IMPR] No else clause needed after raising an exception ......................................................................
[IMPR] No else clause needed after raising an exception
Change-Id: Ia0f0980e22f70e29c5d1b8e82995a5ce1ba0a78f --- M scripts/welcome.py 1 file changed, 1 insertion(+), 2 deletions(-)
Approvals: Mpaa: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/welcome.py b/scripts/welcome.py index 1b84e74..ebf7faa 100755 --- a/scripts/welcome.py +++ b/scripts/welcome.py @@ -441,8 +441,7 @@ raise KeyError( 'welcome.py is not localized for site {0} in netext dict.' .format(self.site)) - else: - self.welcome_text = site_netext + self.welcome_text = site_netext
def badNameFilter(self, name, force=False): """Check for bad names."""
pywikibot-commits@lists.wikimedia.org