summaryrefslogtreecommitdiff
path: root/uitest/libreoffice
diff options
context:
space:
mode:
authorRakielle <rakielledev@gmail.com>2022-10-15 20:19:33 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2022-10-17 13:32:56 +0200
commit09ba0057e3d7f8c9d1166269b232a8b2692fa506 (patch)
tree7daead76f7bb02c8094b6a3160170f10c06817ec /uitest/libreoffice
parent61f660daef0e9c848087fbc7a8f95395c7093b8f (diff)
tdf#132293 remove unused imports and variables
I used pyflakes to check for any unused imports and variables in python scripts under sc, sw, uitest directories, and then removed the unused imports and variables Change-Id: I0690c9366087dc602ee8ea169bc1c9063033fef6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141421 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'uitest/libreoffice')
-rw-r--r--uitest/libreoffice/connection.py1
-rw-r--r--uitest/libreoffice/uno/eventlistener.py1
-rw-r--r--uitest/libreoffice/uno/propertyvalue.py1
3 files changed, 0 insertions, 3 deletions
diff --git a/uitest/libreoffice/connection.py b/uitest/libreoffice/connection.py
index 2b0e9c227479..40c4757406ab 100644
--- a/uitest/libreoffice/connection.py
+++ b/uitest/libreoffice/connection.py
@@ -14,7 +14,6 @@ import os
try:
import pyuno
import uno
- import unohelper
except ImportError:
print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables")
print("PYTHONPATH=/installation/opt/program")
diff --git a/uitest/libreoffice/uno/eventlistener.py b/uitest/libreoffice/uno/eventlistener.py
index b2b834b13d03..54076efe337e 100644
--- a/uitest/libreoffice/uno/eventlistener.py
+++ b/uitest/libreoffice/uno/eventlistener.py
@@ -6,7 +6,6 @@
#
try:
- import pyuno
import unohelper
from com.sun.star.document import XDocumentEventListener
except ImportError:
diff --git a/uitest/libreoffice/uno/propertyvalue.py b/uitest/libreoffice/uno/propertyvalue.py
index 4e5c8964bc60..ce8622113a9a 100644
--- a/uitest/libreoffice/uno/propertyvalue.py
+++ b/uitest/libreoffice/uno/propertyvalue.py
@@ -6,7 +6,6 @@
#
try:
- import pyuno
import uno
except ImportError:
print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables")