jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/308426 )

Change subject: [bugfix] ncTemplates is a method not a property
......................................................................


[bugfix] ncTemplates is a method not a property

Bug: T144690
Change-Id: Iaf31f18a738b21cb59bbbd5da3b47da9e7887d28
---
M scripts/nowcommons.py
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  jenkins-bot: Verified
  Sn1per: Looks good to me, approved



diff --git a/scripts/nowcommons.py b/scripts/nowcommons.py
index 62bcd07..04dbc4f 100755
--- a/scripts/nowcommons.py
+++ b/scripts/nowcommons.py
@@ -51,8 +51,8 @@
 #
 # (C) Wikipedian, 2006-2007
 # (C) Siebrand Mazeland, 2007-2008
-# (C) xqt, 2010-2016
-# (C) Pywikibot team, 2006-2016
+# (C) xqt, 2010-2017
+# (C) Pywikibot team, 2006-2017
 #
 # Distributed under the terms of the MIT license.
 #
@@ -455,7 +455,7 @@
                 self._treat_counter += 1
         if not self._treat_counter:
             pywikibot.output(
-                'No transcluded files found for %s.' % self.ncTemplates[0])
+                'No transcluded files found for %s.' % self.ncTemplates()[0])
         self.exit()
 
 

-- 
To view, visit https://gerrit.wikimedia.org/r/308426
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaf31f18a738b21cb59bbbd5da3b47da9e7887d28
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Multichill <[email protected]>
Gerrit-Reviewer: Sn1per <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to