jenkins-bot has submitted this change and it was merged.
Change subject: Partial revert of r6605 ......................................................................
Partial revert of r6605
Merging 2010 compat change 59106d6b into core. That change was a partial revert of SVN revision 6605 which is compat change d2de3f32 in git.
Change-Id: Ib8a8fe7f35c355d524a921cf85747ba400036406 --- M pywikibot/interwiki_graph.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: John Vandenberg: Looks good to me, but someone else must approve XZise: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/interwiki_graph.py b/pywikibot/interwiki_graph.py index 68a95c7..14d5a4b 100644 --- a/pywikibot/interwiki_graph.py +++ b/pywikibot/interwiki_graph.py @@ -65,8 +65,8 @@ self.subject = subject
def getLabel(self, page): - return (u'""%s:%s""' % (page.site.language(), - page.title())).encode('utf-8') + return (u'"%s:%s"' % (page.site().language(), + page.title())).encode('utf-8')
def addNode(self, page): node = pydot.Node(self.getLabel(page), shape='rectangle')