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.
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/811343
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I74ed17a530fe752a6b624c4a7755215a24448816
Gerrit-Change-Number: 811343
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged