File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ def prepare_static_build_linux(self):
285
285
url = latest_libxml2_release ()
286
286
self .info ('{:10}: {}' .format ('libxml2' , 'PYXMLSEC_LIBXML2_VERSION unset, downloading latest from {}' .format (url )))
287
287
else :
288
- version_prefix , _ = self .libxml2_version .split ('.' , - 1 )
288
+ version_prefix , _ = self .libxml2_version .rsplit ('.' , 1 )
289
289
url = 'https://download.gnome.org/sources/libxml2/{}/libxml2-{}.tar.xz' .format (
290
290
version_prefix , self .libxml2_version
291
291
)
@@ -305,7 +305,7 @@ def prepare_static_build_linux(self):
305
305
url = latest_libxslt_release ()
306
306
self .info ('{:10}: {}' .format ('libxslt' , 'PYXMLSEC_LIBXSLT_VERSION unset, downloading latest from {}' .format (url )))
307
307
else :
308
- version_prefix , _ = self .libxslt_version .split ('.' , - 1 )
308
+ version_prefix , _ = self .libxslt_version .rsplit ('.' , 1 )
309
309
url = 'https://download.gnome.org/sources/libxslt/{}/libxslt-{}.tar.xz' .format (
310
310
version_prefix , self .libxslt_version
311
311
)
You can’t perform that action at this time.
0 commit comments