Skip to content

Commit 81cb098

Browse files
committed
refactoring.
1 parent b6b2610 commit 81cb098

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/fastwq/progress.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
from .lang import _
2626

2727

28+
__all__ = ['INFO_TEMPLATE', 'ProgressWindow']
29+
30+
2831
INFO_TEMPLATE = u''.join([
2932
_('QUERIED') + u'<br>' + 45 * u'-' + u'<br>',
3033
_('SUCCESS') + u' {} ' + _('WORDS') + u'<br>',

src/fastwq/query.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@
1919

2020
from collections import defaultdict
2121
import os
22-
import re
2322
import shutil
24-
import sys
25-
import time
2623
import unicodedata
2724

2825
from aqt import mw
@@ -38,6 +35,14 @@
3835
from .utils import Empty, MapDict, Queue, wrap_css
3936

4037

38+
__all__ = ['QueryThread', 'QueryWorkerManager', 'InvalidWordException',
39+
'query_from_browser', 'query_from_editor_all_fields',
40+
'query_all', 'update_note_fields', 'update_note_field',
41+
'promot_choose_css', 'add_to_tmpl', 'strip_combining',
42+
'query_all_flds', 'inspect_note'
43+
]
44+
45+
4146
def inspect_note(note):
4247
"""
4348
inspect the note, and get necessary input parameters

0 commit comments

Comments
 (0)