summaryrefslogtreecommitdiff
path: root/uitest
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-04 14:47:56 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-04 19:50:30 +0200
commit2519377c55626dfa3191aaad266b751d29fe4917 (patch)
tree369c45e6ce3a49d42c954c3b060d4abab74085d3 /uitest
parent6f5943bb23853e65a93503c498bc30b57d9ec15f (diff)
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@redhat.com>
Diffstat (limited to 'uitest')
-rw-r--r--uitest/libreoffice/connection.py4
1 files changed, 1 insertions, 3 deletions
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"""