Projects
Eulaceura:Mainline:GA
gala-ragdoll
_service:obs_scm:0001-fix-text-file-sync-bug.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0001-fix-text-file-sync-bug.patch of Package gala-ragdoll
From 4f0811635664dcc34d8f556d17bb63b5c72ed1a9 Mon Sep 17 00:00:00 2001 From: smjiao <smjiao@isoftstone.com> Date: Tue, 7 Nov 2023 18:26:49 +0800 Subject: [PATCH] fix text file sync bug --- ragdoll/config_model/text_config.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ragdoll/config_model/text_config.py b/ragdoll/config_model/text_config.py index 98d8fd1..dadd915 100644 --- a/ragdoll/config_model/text_config.py +++ b/ragdoll/config_model/text_config.py @@ -41,6 +41,8 @@ class TextConfig(BaseHandlerConfig): def write_conf(self): content = "" - for conf_list in self.conf: - content += '\t'.join(conf_list) + '\n' + for value in self.conf: + if value is not None: + content = content + value + "\n" + content = content + '\n' return content \ No newline at end of file -- 2.38.1.windows.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2