jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/351102 )
Change subject: Assign object to Tkdialog if it cannot be imported from gui module ......................................................................
Assign object to Tkdialog if it cannot be imported from gui module
Bug: T164163 Change-Id: I62d28206c4061ec1907b5e6b852aab3d0901a761 --- M scripts/imagecopy.py M scripts/imagecopy_self.py 2 files changed, 2 insertions(+), 2 deletions(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/scripts/imagecopy.py b/scripts/imagecopy.py index 1e2f454..fc5b6b9 100644 --- a/scripts/imagecopy.py +++ b/scripts/imagecopy.py @@ -113,7 +113,7 @@ try: from pywikibot.userinterfaces.gui import Tkdialog except ImportError as _tk_error: - Tkdialog = None + Tkdialog = object
NL = ''
diff --git a/scripts/imagecopy_self.py b/scripts/imagecopy_self.py index f0ec351..36d883e 100644 --- a/scripts/imagecopy_self.py +++ b/scripts/imagecopy_self.py @@ -80,7 +80,7 @@ try: from pywikibot.userinterfaces.gui import Tkdialog except ImportError as _tk_error: - Tkdialog = None + Tkdialog = object
NL = ''
pywikibot-commits@lists.wikimedia.org