15
0

Accepting request 1069092 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1069092
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parallax?expand=0&rev=21
This commit is contained in:
2023-03-03 21:28:22 +00:00
committed by Git OBS Bridge
3 changed files with 35 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
From 4f8e3f0ef01a6a63deb51ff6adbd3ab0849d7903 Mon Sep 17 00:00:00 2001
From: nicholasyang <nicholas.yang@suse.com>
Date: Fri, 3 Mar 2023 14:33:27 +0800
Subject: [PATCH] Fix: manager: writer thread can only be started once
(bsc#1208817)
---
parallax/manager.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/parallax/manager.py b/parallax/manager.py
index eb4df20..58b2398 100644
--- a/parallax/manager.py
+++ b/parallax/manager.py
@@ -98,8 +98,6 @@ class Manager(object):
writer = None
try:
- if writer:
- writer.start()
if self.askpass:
pass_server = PasswordServer()
pass_server.start(self.iomap, self.limit, warn=self.warn_message)
--
2.34.1

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 3 07:13:28 UTC 2023 - XinLiang <XLiang@suse.com>
- Fix: manager: writer thread can only be started once (bsc#1208817)
Add patch 0001-Fix-manager-writer-thread-can-only-be-started-once-b.patch
-------------------------------------------------------------------
Mon Nov 7 02:18:35 UTC 2022 - XinLiang <XLiang@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-parallax
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@ License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/krig/parallax/
Source: https://files.pythonhosted.org/packages/source/p/parallax/parallax-%{version}.tar.gz
Patch1: 0001-Fix-manager-writer-thread-can-only-be-started-once-b.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -49,6 +50,7 @@ multiple nodes using SCP.
%prep
%setup -q -n parallax-%{version}
%patch1 -p1
%build
%python_build