[Libreoffice-commits] core.git: uitest/libreoffice

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 4 17:51:10 UTC 2020


 uitest/libreoffice/connection.py |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 2519377c55626dfa3191aaad266b751d29fe4917
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jun 4 14:47:56 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jun 4 19:50:30 2020 +0200

    Remove unused self.pro
    
    ...which became unused with 2959c99bae8a8199a8c5c4d4933707ab98acfffa "uitest:
    let us remove the kill part"
    
    Change-Id: I588de0c98b1b25e13faba4142587c019ea801c14
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95512
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/uitest/libreoffice/connection.py b/uitest/libreoffice/connection.py
index 5330fdb70c11..e414fa30df96 100644
--- a/uitest/libreoffice/connection.py
+++ b/uitest/libreoffice/connection.py
@@ -27,7 +27,6 @@ class OfficeConnection:
         self.soffice = None
         self.socket = None
         self.xContext = None
-        self.pro = None
 
     def setUp(self):
         """  Create a new connection to a LibreOffice process
@@ -83,8 +82,7 @@ class OfficeConnection:
             env = environ
             env['LC_ALL'] = environ['LIBO_LANG']
 
-        self.pro = subprocess.Popen(argv, env=env)
-        return self.pro
+        return subprocess.Popen(argv, env=env)
 
     def connect(self, socket):
         """ Tries to connect to the LibreOffice instance through the specified socket"""


More information about the Libreoffice-commits mailing list