jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/811343 )
Change subject: [cleanup] Remove unused MalformedConfigError from time module ......................................................................
[cleanup] Remove unused MalformedConfigError from time module
Change-Id: I74ed17a530fe752a6b624c4a7755215a24448816 --- M pywikibot/time.py 1 file changed, 0 insertions(+), 6 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/time.py b/pywikibot/time.py index ed5f00e..7af8aae 100644 --- a/pywikibot/time.py +++ b/pywikibot/time.py @@ -17,7 +17,6 @@ __all__ = ( 'parse_duration', 'str2timedelta', - 'MalformedConfigError', 'MW_KEYS', 'Timestamp', 'TZoneUTC', @@ -36,11 +35,6 @@ ZERO = datetime.timedelta(0)
-class MalformedConfigError(pywikibot.exceptions.Error): - - """There is an error in the configuration template.""" - - class Timestamp(datetime.datetime):
"""Class for handling MediaWiki timestamps.
pywikibot-commits@lists.wikimedia.org