jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/630628 )

Change subject: [cleanup] remove desupported Djvu.file_djvu property
......................................................................

[cleanup] remove desupported Djvu.file_djvu property

Change-Id: I7991a52125ad7ba2cf8551b32d5c76ca7b9b92c9
---
M pywikibot/tools/djvu.py
1 file changed, 1 insertion(+), 7 deletions(-)

Approvals:
  Mpaa: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/tools/djvu.py b/pywikibot/tools/djvu.py
index f13436c..73992b0 100644
--- a/pywikibot/tools/djvu.py
+++ b/pywikibot/tools/djvu.py
@@ -14,7 +14,7 @@

 import pywikibot

-from pywikibot.tools import deprecated, deprecated_args
+from pywikibot.tools import deprecated_args


 def _call_cmd(args, lib='djvulibre') -> tuple:
@@ -92,12 +92,6 @@
         """Return a string representation."""
         return str("{}('{}')").format(self.__class__.__name__, self._filename)

-    @property
-    @deprecated('DjVuFile.file', since='2010222', future_warning=True)
-    def file_djvu(self):
-        """Deprecated file_djvu instance variable."""
-        return self.file
-
     def check_cache(fn):
         """Decorator to check if cache shall be cleared."""
         cache = ['_page_count', '_has_text', '_page_info']

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/630628
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: I7991a52125ad7ba2cf8551b32d5c76ca7b9b92c9
Gerrit-Change-Number: 630628
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Mpaa <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to