Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP3:GA
cpuset.22018
cpuset-1.6-Fix_invalid_parentheses.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cpuset-1.6-Fix_invalid_parentheses.patch of Package cpuset.22018
From a4b6b275d0a43d2794ab9e82922d3431aeea9903 Mon Sep 17 00:00:00 2001 From: Markus <ekkwam@gmail.com> Date: Tue, 25 Aug 2020 18:56:34 +0300 Subject: [PATCH] Fix invalid parentheses Acked-by: Libor Pechacek <lpechacek@suse.com> --- cpuset/commands/set.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpuset/commands/set.py b/cpuset/commands/set.py index c71f37f..7d0d382 100644 --- a/cpuset/commands/set.py +++ b/cpuset/commands/set.py @@ -484,7 +484,7 @@ def set_details(name, indent=None, width=None, usehex=False): if width != 0 and len(tst) > width: target = width - len(out) patha = set.path[:len(set.path)//2-3] - pathb = set.path[len(set.path//2):] + pathb = set.path[len(set.path)//2:] patha = patha[:target//2-3] pathb = pathb[-target//2:] out += patha + '...' + pathb
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