jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/439495 )
Change subject: [bugfix] Use absolute path in generate_family_file.py ......................................................................
[bugfix] Use absolute path in generate_family_file.py
Bug: T196850 Change-Id: I0303fbf444f185a1d2001b5aafad27d47e0ff240 --- M generate_family_file.py 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: Zhuyifei1999: Looks good to me, but someone else must approve Mpaa: Looks good to me, approved jenkins-bot: Verified
diff --git a/generate_family_file.py b/generate_family_file.py index ef321bf..a21a7d8 100755 --- a/generate_family_file.py +++ b/generate_family_file.py @@ -126,7 +126,8 @@
def writefile(self): """Write the family file.""" - fn = "pywikibot/families/%s_family.py" % self.name + fn = os.path.join(os.path.dirname(os.path.realpath(__file__)), + 'pywikibot/families/%s_family.py' % self.name) print("Writing %s... " % fn) try: open(fn)
pywikibot-commits@lists.wikimedia.org