omdev 0.0.0.dev409__py3-none-any.whl → 0.0.0.dev411__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- omdev/ptk/__init__.py +1 -1
- omdev/ptk/confirm.py +2 -2
- {omdev-0.0.0.dev409.dist-info → omdev-0.0.0.dev411.dist-info}/METADATA +2 -2
- {omdev-0.0.0.dev409.dist-info → omdev-0.0.0.dev411.dist-info}/RECORD +8 -8
- {omdev-0.0.0.dev409.dist-info → omdev-0.0.0.dev411.dist-info}/WHEEL +0 -0
- {omdev-0.0.0.dev409.dist-info → omdev-0.0.0.dev411.dist-info}/entry_points.txt +0 -0
- {omdev-0.0.0.dev409.dist-info → omdev-0.0.0.dev411.dist-info}/licenses/LICENSE +0 -0
- {omdev-0.0.0.dev409.dist-info → omdev-0.0.0.dev411.dist-info}/top_level.txt +0 -0
omdev/ptk/__init__.py
CHANGED
omdev/ptk/confirm.py
CHANGED
@@ -44,12 +44,12 @@ def create_strict_confirm_session(
|
|
44
44
|
|
45
45
|
|
46
46
|
@lang.maysync
|
47
|
-
async def
|
47
|
+
async def strict_confirm(message: str = 'Confirm?', suffix: str = ' (y/n) ') -> bool:
|
48
48
|
"""Display a confirmation prompt that returns True/False. Requires an explicit answer."""
|
49
49
|
|
50
50
|
while True:
|
51
51
|
session = create_strict_confirm_session(message, suffix)
|
52
|
-
ret = await lang.make_maysync(session.prompt, ta.cast(ta.Any, session.prompt_async))().
|
52
|
+
ret = await lang.make_maysync(session.prompt, ta.cast(ta.Any, session.prompt_async))().a()
|
53
53
|
|
54
54
|
if isinstance(ret, str):
|
55
55
|
check.empty(ret)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: omdev
|
3
|
-
Version: 0.0.0.
|
3
|
+
Version: 0.0.0.dev411
|
4
4
|
Summary: omdev
|
5
5
|
Author: wrmsr
|
6
6
|
License-Expression: BSD-3-Clause
|
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
14
14
|
Requires-Python: >=3.13
|
15
15
|
Description-Content-Type: text/markdown
|
16
16
|
License-File: LICENSE
|
17
|
-
Requires-Dist: omlish==0.0.0.
|
17
|
+
Requires-Dist: omlish==0.0.0.dev411
|
18
18
|
Provides-Extra: all
|
19
19
|
Requires-Dist: black~=25.1; extra == "all"
|
20
20
|
Requires-Dist: pycparser~=2.22; extra == "all"
|
@@ -224,8 +224,8 @@ omdev/precheck/main.py,sha256=_1A5wiu9p2th1dn_17w1ZIFtMmCIOaTFpWyvK0jopEA,4374
|
|
224
224
|
omdev/precheck/manifests.py,sha256=dxl7GSJHKjQrR6mbwvj6j92XDGHOpxxEEQ6smJkBEe4,810
|
225
225
|
omdev/precheck/scripts.py,sha256=6nb_lDgyX7u9kdF_BU6ubY01q_jGk96VH9q9gpOieng,1753
|
226
226
|
omdev/precheck/unicode.py,sha256=VUNDCrlfUas_U8ugV_q0eFUXuBgKjS8YdCFm0FXREXo,2583
|
227
|
-
omdev/ptk/__init__.py,sha256=
|
228
|
-
omdev/ptk/confirm.py,sha256=
|
227
|
+
omdev/ptk/__init__.py,sha256=dpX3wJhkkamPutosBwy90C0E9WHv-sE48FE09_FaDQw,5196
|
228
|
+
omdev/ptk/confirm.py,sha256=pdwTw4aILvIe5x5HACKeqZFGkfBbbqMyHTCwIgL8a5E,1609
|
229
229
|
omdev/ptk/apps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
230
230
|
omdev/ptk/apps/ncdu.py,sha256=KTbAgwhzcROOvq20VGN92UwMWcgkMMVOeFfpjZAsKUk,4561
|
231
231
|
omdev/ptk/markdown/LICENSE,sha256=oSmc9j-n23wTJUO0TbY8sIHrf9pFZUovFWfDL7D53IA,1489
|
@@ -324,9 +324,9 @@ omdev/tools/jsonview/resources/jsonview.js,sha256=faDvXDOXKvEvjOuIlz4D3F2ReQXb_b
|
|
324
324
|
omdev/tools/pawk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
325
325
|
omdev/tools/pawk/__main__.py,sha256=VCqeRVnqT1RPEoIrqHFSu4PXVMg4YEgF4qCQm90-eRI,66
|
326
326
|
omdev/tools/pawk/pawk.py,sha256=ao5mdrpiSU4AZ8mBozoEaV3UVlmVTnRG9wD9XP70MZE,11429
|
327
|
-
omdev-0.0.0.
|
328
|
-
omdev-0.0.0.
|
329
|
-
omdev-0.0.0.
|
330
|
-
omdev-0.0.0.
|
331
|
-
omdev-0.0.0.
|
332
|
-
omdev-0.0.0.
|
327
|
+
omdev-0.0.0.dev411.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
328
|
+
omdev-0.0.0.dev411.dist-info/METADATA,sha256=a01VGSbG_7KUib4m--wDkIHsKv81-fMy2Mr6xQGLHIA,5094
|
329
|
+
omdev-0.0.0.dev411.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
330
|
+
omdev-0.0.0.dev411.dist-info/entry_points.txt,sha256=dHLXFmq5D9B8qUyhRtFqTGWGxlbx3t5ejedjrnXNYLU,33
|
331
|
+
omdev-0.0.0.dev411.dist-info/top_level.txt,sha256=1nr7j30fEWgLYHW3lGR9pkdHkb7knv1U1ES1XRNVQ6k,6
|
332
|
+
omdev-0.0.0.dev411.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|