pymud 0.20.1__py3-none-any.whl → 0.20.1.post1__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.
- pymud/objects.py +3 -1
- {pymud-0.20.1.dist-info → pymud-0.20.1.post1.dist-info}/METADATA +1 -1
- {pymud-0.20.1.dist-info → pymud-0.20.1.post1.dist-info}/RECORD +7 -7
- {pymud-0.20.1.dist-info → pymud-0.20.1.post1.dist-info}/LICENSE.txt +0 -0
- {pymud-0.20.1.dist-info → pymud-0.20.1.post1.dist-info}/WHEEL +0 -0
- {pymud-0.20.1.dist-info → pymud-0.20.1.post1.dist-info}/entry_points.txt +0 -0
- {pymud-0.20.1.dist-info → pymud-0.20.1.post1.dist-info}/top_level.txt +0 -0
pymud/objects.py
CHANGED
@@ -599,7 +599,6 @@ class MatchObject(BaseObject):
|
|
599
599
|
# 采用回调方式执行的时候,执行函数回调(仅当self.sync和docallback均为真时才执行同步
|
600
600
|
# 当docallback为真时,是真正的进行匹配和触发,为false时,仅返回匹配结果,不实际触发
|
601
601
|
if docallback:
|
602
|
-
self.event.set()
|
603
602
|
if self.sync:
|
604
603
|
if state.result == self.SUCCESS:
|
605
604
|
self._onSuccess(state.id, state.line, state.wildcards)
|
@@ -607,6 +606,9 @@ class MatchObject(BaseObject):
|
|
607
606
|
self._onFailure(state.id, state.line, state.wildcards)
|
608
607
|
elif state.result == self.TIMEOUT:
|
609
608
|
self._onTimeout(state.id, state.line, state.wildcards)
|
609
|
+
|
610
|
+
if state.result == self.SUCCESS:
|
611
|
+
self.event.set()
|
610
612
|
|
611
613
|
self.state = state
|
612
614
|
return state
|
@@ -5,15 +5,15 @@ pymud/extras.py,sha256=Gr-gX7YRWZMmeKV73sk7h_Gf5eZVJ6GcAXvSEfJ4uMI,41124
|
|
5
5
|
pymud/logger.py,sha256=gtGm8y9RY_CpRpJ0udgKknRxyjsEPrrRyWecUDgBgZM,5662
|
6
6
|
pymud/main.py,sha256=b_Ui_cN4W8IfhYNyc1duwr3Bp7pYYZQusKTSafCWZIA,6534
|
7
7
|
pymud/modules.py,sha256=XoqTeYfZCgqDsV3SYxeehzsbkTzs0swelAUIxyWuL9g,7423
|
8
|
-
pymud/objects.py,sha256=
|
8
|
+
pymud/objects.py,sha256=HNWoE6mhUV9SgRsD-2yISt5rVi8h2mTR1sapEZVklNI,39441
|
9
9
|
pymud/pkuxkx.py,sha256=jRQRUs2xtw7GzYHtLYZXOASnqMumKh0iCoOeKZs8NnU,11467
|
10
10
|
pymud/protocol.py,sha256=QfDXjlg2OcJXmVoXf_3mAemnYotRXDUlEZNQjhkfXdA,49106
|
11
11
|
pymud/pymud.py,sha256=pkTb21UV2ccYhG44JjfGdvUSPIWbu_y-vUwBqqzeHaM,51425
|
12
12
|
pymud/session.py,sha256=GAxenTtUy75A-LAfznMOx753BWd-tyozgngeNdJux4Q,135208
|
13
13
|
pymud/settings.py,sha256=ZsKGkjcNGNwqeb2DztwhIrCcRDPYYN1SxtdjWNAJ9CY,7145
|
14
|
-
pymud-0.20.1.dist-info/LICENSE.txt,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
|
15
|
-
pymud-0.20.1.dist-info/METADATA,sha256=
|
16
|
-
pymud-0.20.1.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
17
|
-
pymud-0.20.1.dist-info/entry_points.txt,sha256=diPUOtTkhgC1hVny7Cdg4aRhaHSynMQoraE7ZhJxUcw,37
|
18
|
-
pymud-0.20.1.dist-info/top_level.txt,sha256=8Gp1eXjxixXjqhhti6tLCspV_8s9sNV3z5Em2_KRhD4,6
|
19
|
-
pymud-0.20.1.dist-info/RECORD,,
|
14
|
+
pymud-0.20.1.post1.dist-info/LICENSE.txt,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
|
15
|
+
pymud-0.20.1.post1.dist-info/METADATA,sha256=TD5fbQU363NwQw5jDJc4Me_6gkLvkaYcGyyn1BnpCwU,74350
|
16
|
+
pymud-0.20.1.post1.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
17
|
+
pymud-0.20.1.post1.dist-info/entry_points.txt,sha256=diPUOtTkhgC1hVny7Cdg4aRhaHSynMQoraE7ZhJxUcw,37
|
18
|
+
pymud-0.20.1.post1.dist-info/top_level.txt,sha256=8Gp1eXjxixXjqhhti6tLCspV_8s9sNV3z5Em2_KRhD4,6
|
19
|
+
pymud-0.20.1.post1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|