smartpush 1.1.4__py3-none-any.whl → 1.1.5__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.
- smartpush/export/basic/GetOssUrl.py +2 -3
- {smartpush-1.1.4.dist-info → smartpush-1.1.5.dist-info}/METADATA +1 -1
- {smartpush-1.1.4.dist-info → smartpush-1.1.5.dist-info}/RECORD +5 -5
- {smartpush-1.1.4.dist-info → smartpush-1.1.5.dist-info}/WHEEL +0 -0
- {smartpush-1.1.4.dist-info → smartpush-1.1.5.dist-info}/top_level.txt +0 -0
@@ -2,8 +2,7 @@
|
|
2
2
|
import json
|
3
3
|
|
4
4
|
import requests
|
5
|
-
import
|
6
|
-
from tenacity import retry, stop_after_attempt, wait_fixed
|
5
|
+
from tenacity import retry, stop_after_attempt, wait_fixed,RetryError
|
7
6
|
|
8
7
|
from smartpush.utils.StringUtils import StringUtils
|
9
8
|
|
@@ -75,7 +74,7 @@ def get_oss_address_with_retry(target_id, url, requestHeader, requestParam, **kw
|
|
75
74
|
return get_oss_address()
|
76
75
|
except Exception as e:
|
77
76
|
# print(f"最终失败,错误信息: {e}")
|
78
|
-
if isinstance(e,
|
77
|
+
if isinstance(e, RetryError):
|
79
78
|
cancel_export_file(target_id)
|
80
79
|
return None
|
81
80
|
|
@@ -3,12 +3,12 @@ smartpush/get_jira_info.py,sha256=dmCwkKa94xwyE2hegE1KBI3cV_LbrJ67P9osORUGPt4,26
|
|
3
3
|
smartpush/test.py,sha256=m_Y67qrUeFphwM5jqBOTqheAufmnnjnBVF71nXRXUxg,1598
|
4
4
|
smartpush/export/__init__.py,sha256=D9GbWcmwnetEndFDty5XbVienFK1WjqV2yYcQp3CM84,99
|
5
5
|
smartpush/export/basic/ExcelExportChecker.py,sha256=anvovO657rmo2PF8Mbn_BLFlhSOdyCut4yYoLFUK85c,10807
|
6
|
-
smartpush/export/basic/GetOssUrl.py,sha256=
|
6
|
+
smartpush/export/basic/GetOssUrl.py,sha256=IYt-C-SBY4WU_y8dm9aH3uKj1d7M7sSNtitDrz4EfHU,4932
|
7
7
|
smartpush/export/basic/ReadExcel.py,sha256=rGPDq36ujLKA1dlz_33iQQU6I8dhlc5l2ij_JAQX2a0,5145
|
8
8
|
smartpush/export/basic/__init__.py,sha256=6tcrS-2NSlsJo-UwEsnGUmwCf7jgOsh_UEbM0FD-gYE,70
|
9
9
|
smartpush/utils/StringUtils.py,sha256=NXomJ4qmyBRAFnGj5hrFRWwQnRQMTcPzy20fk1dunSw,3980
|
10
10
|
smartpush/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
|
-
smartpush-1.1.
|
12
|
-
smartpush-1.1.
|
13
|
-
smartpush-1.1.
|
14
|
-
smartpush-1.1.
|
11
|
+
smartpush-1.1.5.dist-info/METADATA,sha256=ffmLfAKhywIyo75R7Nfv5OcqSfyFnkfHrynL4DWYFTA,145
|
12
|
+
smartpush-1.1.5.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
13
|
+
smartpush-1.1.5.dist-info/top_level.txt,sha256=5_CXqu08EfbPaKLjuSAOAqCmGU6shiatwDU_ViBGCmg,10
|
14
|
+
smartpush-1.1.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|