Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:Uyuni:Snapshots:2022.05
cobbler
fix-for-old-str.join-usage.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-for-old-str.join-usage.diff of Package cobbler
From 72e3bb2b07f300c7848a4e7da1e84f8952e80fb9 Mon Sep 17 00:00:00 2001 From: Jochen Breuer <jbreuer@suse.de> Date: Tue, 3 Nov 2020 10:51:35 +0100 Subject: [PATCH] Fix for old str.join usage Fixes #2624 --- cobbler/tftpgen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: cobbler-3.1.2/cobbler/tftpgen.py =================================================================== --- cobbler-3.1.2.orig/cobbler/tftpgen.py +++ cobbler-3.1.2/cobbler/tftpgen.py @@ -946,7 +946,7 @@ class TFTPGen(object): # out the path based on where the kernel is stored. We do this because some distros base future downloads on the # initial URL passed in, so all of the files need to be at this location (which is why we can't use the images # link, which just contains the kernel and initrd). - distro_mirror_name = str.join(distro.kernel.split('/')[-2:-1], '') + distro_mirror_name = ''.join(distro.kernel.split('/')[-2:-1]) blended = utils.blender(self.api, False, obj) @@ -1028,7 +1028,7 @@ class TFTPGen(object): # out the path based on where the kernel is stored. We do this because some distros base future downloads on the # initial URL passed in, so all of the files need to be at this location (which is why we can't use the images # link, which just contains the kernel and initrd). - distro_mirror_name = str.join('', distro.kernel.split('/')[-2:-1]) + distro_mirror_name = ''.join(distro.kernel.split('/')[-2:-1]) blended = utils.blender(self.api, False, obj)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor