omdev 0.0.0.dev412__py3-none-any.whl → 0.0.0.dev413__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/confirm.py +1 -2
- {omdev-0.0.0.dev412.dist-info → omdev-0.0.0.dev413.dist-info}/METADATA +2 -2
- {omdev-0.0.0.dev412.dist-info → omdev-0.0.0.dev413.dist-info}/RECORD +7 -7
- {omdev-0.0.0.dev412.dist-info → omdev-0.0.0.dev413.dist-info}/WHEEL +0 -0
- {omdev-0.0.0.dev412.dist-info → omdev-0.0.0.dev413.dist-info}/entry_points.txt +0 -0
- {omdev-0.0.0.dev412.dist-info → omdev-0.0.0.dev413.dist-info}/licenses/LICENSE +0 -0
- {omdev-0.0.0.dev412.dist-info → omdev-0.0.0.dev413.dist-info}/top_level.txt +0 -0
omdev/ptk/confirm.py
CHANGED
@@ -43,13 +43,12 @@ def create_strict_confirm_session(
|
|
43
43
|
##
|
44
44
|
|
45
45
|
|
46
|
-
@lang.maysync
|
47
46
|
async def strict_confirm(message: str = 'Confirm?', suffix: str = ' (y/n) ') -> bool:
|
48
47
|
"""Display a confirmation prompt that returns True/False. Requires an explicit answer."""
|
49
48
|
|
50
49
|
while True:
|
51
50
|
session = create_strict_confirm_session(message, suffix)
|
52
|
-
ret = await lang.make_maysync(session.prompt, ta.cast(ta.Any, session.prompt_async))()
|
51
|
+
ret = await lang.make_maysync(session.prompt, ta.cast(ta.Any, session.prompt_async))()
|
53
52
|
|
54
53
|
if isinstance(ret, str):
|
55
54
|
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.dev413
|
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.dev413
|
18
18
|
Provides-Extra: all
|
19
19
|
Requires-Dist: black~=25.1; extra == "all"
|
20
20
|
Requires-Dist: pycparser~=2.22; extra == "all"
|
@@ -225,7 +225,7 @@ omdev/precheck/manifests.py,sha256=dxl7GSJHKjQrR6mbwvj6j92XDGHOpxxEEQ6smJkBEe4,8
|
|
225
225
|
omdev/precheck/scripts.py,sha256=6nb_lDgyX7u9kdF_BU6ubY01q_jGk96VH9q9gpOieng,1753
|
226
226
|
omdev/precheck/unicode.py,sha256=VUNDCrlfUas_U8ugV_q0eFUXuBgKjS8YdCFm0FXREXo,2583
|
227
227
|
omdev/ptk/__init__.py,sha256=dpX3wJhkkamPutosBwy90C0E9WHv-sE48FE09_FaDQw,5196
|
228
|
-
omdev/ptk/confirm.py,sha256=
|
228
|
+
omdev/ptk/confirm.py,sha256=98KHM00G1iU78BweFfVGFSZWWmB7MKH8-8fUKPmttRM,1591
|
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.dev413.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
328
|
+
omdev-0.0.0.dev413.dist-info/METADATA,sha256=zRPmSrTbU02h4WjZHkIss6d9NcQoO8G5VfYznvLPYbk,5094
|
329
|
+
omdev-0.0.0.dev413.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
330
|
+
omdev-0.0.0.dev413.dist-info/entry_points.txt,sha256=dHLXFmq5D9B8qUyhRtFqTGWGxlbx3t5ejedjrnXNYLU,33
|
331
|
+
omdev-0.0.0.dev413.dist-info/top_level.txt,sha256=1nr7j30fEWgLYHW3lGR9pkdHkb7knv1U1ES1XRNVQ6k,6
|
332
|
+
omdev-0.0.0.dev413.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|