easy-utils-dev 2.137__py3-none-any.whl → 2.138__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.
- easy_utils_dev/Events.py +2 -2
- {easy_utils_dev-2.137.dist-info → easy_utils_dev-2.138.dist-info}/METADATA +1 -1
- {easy_utils_dev-2.137.dist-info → easy_utils_dev-2.138.dist-info}/RECORD +5 -5
- {easy_utils_dev-2.137.dist-info → easy_utils_dev-2.138.dist-info}/WHEEL +0 -0
- {easy_utils_dev-2.137.dist-info → easy_utils_dev-2.138.dist-info}/top_level.txt +0 -0
easy_utils_dev/Events.py
CHANGED
|
@@ -62,7 +62,7 @@ class EventEmitter:
|
|
|
62
62
|
if event in self.listeners:
|
|
63
63
|
self.listeners[event].remove(callback) # Remove the callback if it exists
|
|
64
64
|
|
|
65
|
-
def dispatchEvent(self, event
|
|
65
|
+
def dispatchEvent(self, event):
|
|
66
66
|
"""
|
|
67
67
|
Triggers the specified event, executing all associated callback functions.
|
|
68
68
|
|
|
@@ -71,7 +71,7 @@ class EventEmitter:
|
|
|
71
71
|
"""
|
|
72
72
|
if event in self.listeners:
|
|
73
73
|
for callback in self.listeners[event]:
|
|
74
|
-
callback(
|
|
74
|
+
callback() # Execute each callback associated with the event
|
|
75
75
|
|
|
76
76
|
# Example of usage:
|
|
77
77
|
if __name__ == '__main__':
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
easy_utils_dev/EasySsh.py,sha256=PbFK1vSBcnt_SfkZXZGh5wg6Sg9R2WlXeGdvjZluJ9E,3592
|
|
2
|
-
easy_utils_dev/Events.py,sha256=
|
|
2
|
+
easy_utils_dev/Events.py,sha256=MdI53gAyXX_2jmChpayayQM0ZitgjtkyUNrQYGEEZnw,2978
|
|
3
3
|
easy_utils_dev/FastQueue.py,sha256=Drt8B_hEdmg9eAt7OWSgTyoJ3rUHkeJHk9xdaehtEsY,5622
|
|
4
4
|
easy_utils_dev/NameObject.py,sha256=Z4Qp3qfMcQeMPw35PV_xOu8kigRtfSRZ4h7woR0t3Gg,270
|
|
5
5
|
easy_utils_dev/__init__.py,sha256=cHuXcH3IjYRApwVhVjKmgMSVGIJBmGWJhgtsKawq6_0,801
|
|
@@ -31,7 +31,7 @@ easy_utils_dev/wsnoclib.py,sha256=z18kdPJJeNYAaomqH1t6KfTWm77BNPx6aPAW9P0PSOc,30
|
|
|
31
31
|
easy_utils_dev/wsselib.py,sha256=YweScnoAAH_t29EeIjBpkQ6HtX0Rp9mQudRsRce2SE8,7920
|
|
32
32
|
easy_utils_dev/ept_sql/create_dirs.sql,sha256=KWfX-Nc6lvr_BC-P6O97NE0idoPW4GNKUKUCgonJhto,3508
|
|
33
33
|
easy_utils_dev/ept_sql/create_ept_tables.sql,sha256=WDHyIyeReV8_QaYBPIpSy-lto3OKvZtex1tWs-FPURQ,67737
|
|
34
|
-
easy_utils_dev-2.
|
|
35
|
-
easy_utils_dev-2.
|
|
36
|
-
easy_utils_dev-2.
|
|
37
|
-
easy_utils_dev-2.
|
|
34
|
+
easy_utils_dev-2.138.dist-info/METADATA,sha256=uN_YPuZajKHryq24B8n7zfC3qVYpw9oXaDabo_Vfo1E,510
|
|
35
|
+
easy_utils_dev-2.138.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
36
|
+
easy_utils_dev-2.138.dist-info/top_level.txt,sha256=7vBsrpq7NmilkdU3YUvfd5iVDNBaT07u_-ut4F7zc7A,15
|
|
37
|
+
easy_utils_dev-2.138.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|