rclone-api 1.3.17__py2.py3-none-any.whl → 1.3.18__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/file.py +1 -4
- {rclone_api-1.3.17.dist-info → rclone_api-1.3.18.dist-info}/METADATA +1 -1
- {rclone_api-1.3.17.dist-info → rclone_api-1.3.18.dist-info}/RECORD +7 -7
- {rclone_api-1.3.17.dist-info → rclone_api-1.3.18.dist-info}/LICENSE +0 -0
- {rclone_api-1.3.17.dist-info → rclone_api-1.3.18.dist-info}/WHEEL +0 -0
- {rclone_api-1.3.17.dist-info → rclone_api-1.3.18.dist-info}/entry_points.txt +0 -0
- {rclone_api-1.3.17.dist-info → rclone_api-1.3.18.dist-info}/top_level.txt +0 -0
rclone_api/file.py
CHANGED
|
@@ -50,10 +50,7 @@ def _get_suffix(name: str, chop_compressed_suffixes: bool = True) -> str:
|
|
|
50
50
|
if chop_compressed_suffixes:
|
|
51
51
|
if last_part == "gz" and len(parts) > 2:
|
|
52
52
|
parts = parts[:-1]
|
|
53
|
-
|
|
54
|
-
# grab the last two parts
|
|
55
|
-
return ".".join(parts[-2:])
|
|
56
|
-
return ".".join(parts[1:])
|
|
53
|
+
return ".".join(parts[-1:])
|
|
57
54
|
except IndexError:
|
|
58
55
|
warnings.warn(f"Invalid name: {name} for normal suffix extraction")
|
|
59
56
|
suffix = Path(name).suffix
|
|
@@ -8,7 +8,7 @@ rclone_api/diff.py,sha256=tMoJMAGmLSE6Q_7QhPf6PnCzb840djxMZtDmhc2GlGQ,5227
|
|
|
8
8
|
rclone_api/dir.py,sha256=i4h7LX5hB_WmVixxDRWL_l1nifvscrdWct_8Wx7wHZc,3540
|
|
9
9
|
rclone_api/dir_listing.py,sha256=GoziW8Sne6FY90MLNcb2aO3aaa3jphB6H8ExYrV0Ryo,1882
|
|
10
10
|
rclone_api/exec.py,sha256=Bq0gkyZ10mEY0FRyzNZgdN4FaWP9vpeCk1kjpg-gN_8,1083
|
|
11
|
-
rclone_api/file.py,sha256=
|
|
11
|
+
rclone_api/file.py,sha256=aBHzC-sqwPJ5fSI8bj9XOXJY_I6aCevnxXqiLscl4oo,5393
|
|
12
12
|
rclone_api/file_item.py,sha256=cH-AQYsxedhNPp4c8NHY1ad4Z7St4yf_VGbmiGD59no,1770
|
|
13
13
|
rclone_api/filelist.py,sha256=xbiusvNgaB_b_kQOZoHMJJxn6TWGtPrWd2J042BI28o,767
|
|
14
14
|
rclone_api/group_files.py,sha256=H92xPW9lQnbNw5KbtZCl00bD6iRh9yRbCuxku4j_3dg,8036
|
|
@@ -41,9 +41,9 @@ rclone_api/s3/chunk_types.py,sha256=oSWv8No9V3BeM7IcGnowyR2a7YrszdAXzEJlxaeZcp0,
|
|
|
41
41
|
rclone_api/s3/create.py,sha256=wgfkapv_j904CfKuWyiBIWJVxfAx_ftemFSUV14aT68,3149
|
|
42
42
|
rclone_api/s3/types.py,sha256=Elmh__gvZJyJyElYwMmvYZIBIunDJiTRAbEg21GmsRU,1604
|
|
43
43
|
rclone_api/s3/upload_file_multipart.py,sha256=d8ZWqO8n9wsqRF6JjmvAFmG1aCkFqdSB1L8yxe_5qiY,11669
|
|
44
|
-
rclone_api-1.3.
|
|
45
|
-
rclone_api-1.3.
|
|
46
|
-
rclone_api-1.3.
|
|
47
|
-
rclone_api-1.3.
|
|
48
|
-
rclone_api-1.3.
|
|
49
|
-
rclone_api-1.3.
|
|
44
|
+
rclone_api-1.3.18.dist-info/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
|
|
45
|
+
rclone_api-1.3.18.dist-info/METADATA,sha256=ow95lJm4jG8h05LuHtbeagZgL8R_qb7dqtwYU9s0cV4,4598
|
|
46
|
+
rclone_api-1.3.18.dist-info/WHEEL,sha256=rF4EZyR2XVS6irmOHQIJx2SUqXLZKRMUrjsg8UwN-XQ,109
|
|
47
|
+
rclone_api-1.3.18.dist-info/entry_points.txt,sha256=fJteOlYVwgX3UbNuL9jJ0zUTuX2O79JFAeNgK7Sw7EQ,255
|
|
48
|
+
rclone_api-1.3.18.dist-info/top_level.txt,sha256=EvZ7uuruUpe9RiUyEp25d1Keq7PWYNT0O_-mr8FCG5g,11
|
|
49
|
+
rclone_api-1.3.18.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|