rclone-api 1.0.63__py2.py3-none-any.whl → 1.0.64__py2.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.
- rclone_api/diff.py +6 -9
- {rclone_api-1.0.63.dist-info → rclone_api-1.0.64.dist-info}/METADATA +1 -1
- {rclone_api-1.0.63.dist-info → rclone_api-1.0.64.dist-info}/RECORD +7 -7
- {rclone_api-1.0.63.dist-info → rclone_api-1.0.64.dist-info}/LICENSE +0 -0
- {rclone_api-1.0.63.dist-info → rclone_api-1.0.64.dist-info}/WHEEL +0 -0
- {rclone_api-1.0.63.dist-info → rclone_api-1.0.64.dist-info}/entry_points.txt +0 -0
- {rclone_api-1.0.63.dist-info → rclone_api-1.0.64.dist-info}/top_level.txt +0 -0
rclone_api/diff.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
import warnings
|
2
1
|
from dataclasses import dataclass
|
3
2
|
from enum import Enum
|
4
3
|
from queue import Queue
|
@@ -72,7 +71,6 @@ def _async_diff_stream_from_running_process(
|
|
72
71
|
) -> None:
|
73
72
|
count = 0
|
74
73
|
first_few_lines: list[str] = []
|
75
|
-
check = True
|
76
74
|
try:
|
77
75
|
assert running_process.stdout is not None
|
78
76
|
n_max = 10
|
@@ -98,16 +96,15 @@ def _async_diff_stream_from_running_process(
|
|
98
96
|
except KeyboardInterrupt:
|
99
97
|
import _thread
|
100
98
|
|
101
|
-
check = False
|
102
|
-
|
103
99
|
print("KeyboardInterrupt")
|
104
100
|
output.put(None)
|
105
101
|
_thread.interrupt_main()
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
102
|
+
except Exception as e:
|
103
|
+
import _thread
|
104
|
+
|
105
|
+
print(f"Error: {e}")
|
106
|
+
output.put(None)
|
107
|
+
_thread.interrupt_main()
|
111
108
|
|
112
109
|
|
113
110
|
def diff_stream_from_running_process(
|
@@ -4,7 +4,7 @@ rclone_api/completed_process.py,sha256=Pp-hXnLgej0IGO5ee9Fmx64dGzIofbQFEUyXdFCvO
|
|
4
4
|
rclone_api/config.py,sha256=tP6cU9DnCCEIRc_KP9HPur1jFLLg2QGFSxNwFm6_MVw,118
|
5
5
|
rclone_api/convert.py,sha256=Mx9Qo7zhkOedJd8LdhPvNGHp8znJzOk4f_2KWnoGc78,1012
|
6
6
|
rclone_api/deprecated.py,sha256=qWKpnZdYcBK7YQZKuVoWWXDwi-uqiAtbjgPcci_efow,590
|
7
|
-
rclone_api/diff.py,sha256=
|
7
|
+
rclone_api/diff.py,sha256=HVt246BMXR6jrc_RgywC5HLbdbELls1OLrse6kcT-Ak,4038
|
8
8
|
rclone_api/dir.py,sha256=2-PFaDpjEs28z82DQ-TyaCgrm_OgpwlkwfTnx1-Wwpk,2194
|
9
9
|
rclone_api/dir_listing.py,sha256=9Qqf2SUswrOEkyqmaH23V51I18X6ePiXb9B1vUwRF5o,1571
|
10
10
|
rclone_api/exec.py,sha256=1ovvaMXDEfLiT7BrYZyE85u_yFhEUwUNW3jPOzqknR8,1023
|
@@ -19,9 +19,9 @@ rclone_api/util.py,sha256=_cvmHcJPRl2yXw4zgZiop3z-riA_8Ek6S5NDPw8cqSY,4198
|
|
19
19
|
rclone_api/walk.py,sha256=UaNOE3ICd8k5ouSFZvkVEH4r2GnnrD9TxfwkFcQnayo,3170
|
20
20
|
rclone_api/assets/example.txt,sha256=lTBovRjiz0_TgtAtbA1C5hNi2ffbqnNPqkKg6UiKCT8,54
|
21
21
|
rclone_api/cmd/list_files.py,sha256=x8FHODEilwKqwdiU1jdkeJbLwOqUkUQuDWPo2u_zpf0,741
|
22
|
-
rclone_api-1.0.
|
23
|
-
rclone_api-1.0.
|
24
|
-
rclone_api-1.0.
|
25
|
-
rclone_api-1.0.
|
26
|
-
rclone_api-1.0.
|
27
|
-
rclone_api-1.0.
|
22
|
+
rclone_api-1.0.64.dist-info/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
|
23
|
+
rclone_api-1.0.64.dist-info/METADATA,sha256=hqE26Ln9Dh4lFN8jtb0hSeYupA242HysZxfEIcNRWMg,4489
|
24
|
+
rclone_api-1.0.64.dist-info/WHEEL,sha256=9Hm2OB-j1QcCUq9Jguht7ayGIIZBRTdOXD1qg9cCgPM,109
|
25
|
+
rclone_api-1.0.64.dist-info/entry_points.txt,sha256=XUoTX3m7CWxdj2VAKhEuO0NMOfX2qf-OcEDFwdyk9ZE,72
|
26
|
+
rclone_api-1.0.64.dist-info/top_level.txt,sha256=EvZ7uuruUpe9RiUyEp25d1Keq7PWYNT0O_-mr8FCG5g,11
|
27
|
+
rclone_api-1.0.64.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|