db-sync-tool-kmi 2.11.2__py3-none-any.whl → 2.11.4__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.
Potentially problematic release.
This version of db-sync-tool-kmi might be problematic. Click here for more details.
- db_sync_tool/info.py +1 -1
- db_sync_tool/remote/utility.py +16 -8
- {db_sync_tool_kmi-2.11.2.dist-info → db_sync_tool_kmi-2.11.4.dist-info}/METADATA +1 -1
- {db_sync_tool_kmi-2.11.2.dist-info → db_sync_tool_kmi-2.11.4.dist-info}/RECORD +8 -8
- {db_sync_tool_kmi-2.11.2.dist-info → db_sync_tool_kmi-2.11.4.dist-info}/LICENSE +0 -0
- {db_sync_tool_kmi-2.11.2.dist-info → db_sync_tool_kmi-2.11.4.dist-info}/WHEEL +0 -0
- {db_sync_tool_kmi-2.11.2.dist-info → db_sync_tool_kmi-2.11.4.dist-info}/entry_points.txt +0 -0
- {db_sync_tool_kmi-2.11.2.dist-info → db_sync_tool_kmi-2.11.4.dist-info}/top_level.txt +0 -0
db_sync_tool/info.py
CHANGED
db_sync_tool/remote/utility.py
CHANGED
|
@@ -29,11 +29,15 @@ def remove_origin_database_dump(keep_compressed_file=False):
|
|
|
29
29
|
|
|
30
30
|
_file_path = helper.get_dump_dir(mode.Client.ORIGIN) + database_utility.database_dump_file_name
|
|
31
31
|
if mode.is_origin_remote():
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
mode.run_command(
|
|
33
|
+
helper.get_command(mode.Client.ORIGIN, 'rm') + ' ' + _file_path,
|
|
34
|
+
mode.Client.ORIGIN
|
|
35
|
+
)
|
|
34
36
|
if not keep_compressed_file:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
mode.run_command(
|
|
38
|
+
helper.get_command(mode.Client.ORIGIN, 'rm') + ' ' + _file_path + '.tar.gz',
|
|
39
|
+
mode.Client.ORIGIN
|
|
40
|
+
)
|
|
37
41
|
else:
|
|
38
42
|
os.remove(_file_path)
|
|
39
43
|
if not keep_compressed_file:
|
|
@@ -92,10 +96,14 @@ def remove_target_database_dump():
|
|
|
92
96
|
return
|
|
93
97
|
|
|
94
98
|
if mode.is_target_remote():
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
+
mode.run_command(
|
|
100
|
+
helper.get_command(mode.Client.TARGET, 'rm') + ' ' + _file_path,
|
|
101
|
+
mode.Client.TARGET
|
|
102
|
+
)
|
|
103
|
+
mode.run_command(
|
|
104
|
+
helper.get_command(mode.Client.TARGET, 'rm') + ' ' + _file_path + '.tar.gz',
|
|
105
|
+
mode.Client.TARGET
|
|
106
|
+
)
|
|
99
107
|
else:
|
|
100
108
|
if os.path.isfile(_file_path):
|
|
101
109
|
os.remove(_file_path)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
db_sync_tool/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
db_sync_tool/__main__.py,sha256=-pD13j2oYcKLhPprLy-LQeDCapj-FKrV3CDFHuYJu3g,11541
|
|
3
|
-
db_sync_tool/info.py,sha256=
|
|
3
|
+
db_sync_tool/info.py,sha256=xjEA8kIkLldf8Q4YWHb-KcauBCbtNZ81Ge4fgkmDhsQ,165
|
|
4
4
|
db_sync_tool/sync.py,sha256=WMfMts0M8z3oecI-HL07xG9ktbba8D8h7_U-8tBwizY,2087
|
|
5
5
|
db_sync_tool/database/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
db_sync_tool/database/process.py,sha256=6KiYyCVk68tJbyGNfVeIwYyTMkk5jCoOiVdWoLnrDHw,8365
|
|
@@ -16,7 +16,7 @@ db_sync_tool/remote/client.py,sha256=wjcoQ1jp9i8PMO_6XX2XMXZCoLXy-ySA38seZtY-Sns
|
|
|
16
16
|
db_sync_tool/remote/rsync.py,sha256=VsLbCCgZRSXjmYz5o7B_OpKPna0X1WFqlr-irLN83EY,4252
|
|
17
17
|
db_sync_tool/remote/system.py,sha256=A9OIaypETMYx7frTKpXBgja-kXj7vSD6gJs8pUNpL_I,1188
|
|
18
18
|
db_sync_tool/remote/transfer.py,sha256=pYVsad4SKkJ0TgZHcyLc17Z9xK6exdyO7R8TBe4qQcQ,5872
|
|
19
|
-
db_sync_tool/remote/utility.py,sha256
|
|
19
|
+
db_sync_tool/remote/utility.py,sha256=knTfzFKLdw2QsirvTfTz76XmckagKURKVBhjyREsQIo,3580
|
|
20
20
|
db_sync_tool/utility/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
21
|
db_sync_tool/utility/helper.py,sha256=KSnps4JQHc-wUmi8HNqI1d836R4ZUiQJo94t1gYNFuo,7987
|
|
22
22
|
db_sync_tool/utility/info.py,sha256=8VdUMi3fsyykfMKKrmgUVoW9WEHPXbzPkVNHOIsNAMo,2976
|
|
@@ -26,9 +26,9 @@ db_sync_tool/utility/output.py,sha256=uoiWE7Pm8qv1a3vrBupZHE545d1uZSQHiLAUgkHofL
|
|
|
26
26
|
db_sync_tool/utility/parser.py,sha256=DIdWVGyiltyH8akoWyyXLvUmFPR-nvBrnzDctPJzgKw,6624
|
|
27
27
|
db_sync_tool/utility/system.py,sha256=G74lWGFcJNmLr0l6-GkZWmkk7q3icv4MccuHFKP_Vsw,18539
|
|
28
28
|
db_sync_tool/utility/validation.py,sha256=qZNPgkTwV_kJTNtFh0OXb2FHrsWPnDA2W_fftWs5hZc,3530
|
|
29
|
-
db_sync_tool_kmi-2.11.
|
|
30
|
-
db_sync_tool_kmi-2.11.
|
|
31
|
-
db_sync_tool_kmi-2.11.
|
|
32
|
-
db_sync_tool_kmi-2.11.
|
|
33
|
-
db_sync_tool_kmi-2.11.
|
|
34
|
-
db_sync_tool_kmi-2.11.
|
|
29
|
+
db_sync_tool_kmi-2.11.4.dist-info/LICENSE,sha256=o_R9gPKBRl4PQVcGCrWuTYsJQJ7uuQDcDaq-wapBUaw,1082
|
|
30
|
+
db_sync_tool_kmi-2.11.4.dist-info/METADATA,sha256=KrISMcRHwytjnpxAHPKm5Owmelo3h2lqWUvV9ww4VVI,12505
|
|
31
|
+
db_sync_tool_kmi-2.11.4.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
32
|
+
db_sync_tool_kmi-2.11.4.dist-info/entry_points.txt,sha256=bVk6UR_ejpfY2oSCoOii7uKQivwV9MtA6Tdqpjg4Yvo,60
|
|
33
|
+
db_sync_tool_kmi-2.11.4.dist-info/top_level.txt,sha256=Uj5hJLhmdynFrBE0VnX0PfgIBC8_n7h2vgldqUQ-xfw,13
|
|
34
|
+
db_sync_tool_kmi-2.11.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|