Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Maliku:python
python-dmidecode
31-version_info-v-version.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 31-version_info-v-version.patch of Package python-dmidecode
From 3d656cd92a7b19758a17dfa47b4ce13da5b2bb61 Mon Sep 17 00:00:00 2001 From: Stefano Rivera <stefano@rivera.za.net> Date: Fri, 19 Nov 2021 12:01:32 -0400 Subject: [PATCH] Support Python 3.10's 2-digit minor version --- unit-tests/unit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/unit-tests/unit +++ b/unit-tests/unit @@ -9,7 +9,7 @@ from getopt import getopt # Setup temporary sys.path() with our build dir (sysname, nodename, release, version, machine) = os.uname() -pyver = sys.version[:3] +pyver = '%i.%i' % sys.version_info[:2] sys.path.insert(0,'../build/lib.%s-%s-%s' % (sysname.lower(), machine, pyver)) root_user = (os.getuid() == 0 and True or False)
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