Skip to content

Commit

Permalink
chore: remove legacy uprint
Browse files Browse the repository at this point in the history
  • Loading branch information
yzqzss committed Jun 21, 2024
1 parent 946d64c commit 68393b1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from wikiteam3.dumpgenerator.exceptions import ExportAbortedError, PageMissingError
from wikiteam3.dumpgenerator.api import handle_StatusCode
from wikiteam3.dumpgenerator.log import log_error
from wikiteam3.utils import uprint
from wikiteam3.dumpgenerator.config import Config
from wikiteam3.utils.util import underscore

Expand Down Expand Up @@ -207,6 +206,6 @@ def getXMLPageWithExport(config: Config, title: str,

if verbose:
if edit_count == 1:
uprint(" %s, 1 edit" % (title.strip()))
print(" %s, 1 edit" % (title.strip()))
else:
uprint(" %s, %d edits" % (title.strip(), edit_count))
print(" %s, %d edits" % (title.strip(), edit_count))
1 change: 0 additions & 1 deletion wikiteam3/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from .uprint import uprint
from .util import remove_IP, clean_XML, clean_HTML, undo_HTML_entities, sha1sum

from .user_agent import get_random_UserAgent
Expand Down
11 changes: 0 additions & 11 deletions wikiteam3/utils/uprint.py

This file was deleted.

0 comments on commit 68393b1

Please sign in to comment.