Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
crmsh.10911
0001-Fix-bsc-1120554-bsc-1120555-crmsh-crashed-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-bsc-1120554-bsc-1120555-crmsh-crashed-when-using.patch of Package crmsh.10911
From 1466cf540f7ac6e5128bfb5fd320f9422105ec0a Mon Sep 17 00:00:00 2001 From: liangxin1300 <XLiang@suse.com> Date: Thu, 3 Jan 2019 10:27:00 +0800 Subject: [PATCH 1/2] Fix: bsc#1120554, bsc#1120555 crmsh crashed when using configure>template>apply --- crmsh/ui_template.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crmsh/ui_template.py b/crmsh/ui_template.py index d07e6e0..fa69d54 100644 --- a/crmsh/ui_template.py +++ b/crmsh/ui_template.py @@ -296,11 +296,10 @@ class Template(command.UI): err_buf.start_tmp_lineno() rc = True for inp in f: + inp = utils.to_ascii(inp) err_buf.incr_lineno() if inp.startswith('#'): continue - if isinstance(inp, str): - inp = inp.encode('ascii') inp = inp.strip() try: s = shlex.split(inp) -- 1.8.3.1
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