tdf#158803 Remove unused imports from bin

Used pyflakes to find unused imports from bin/ folder. Then, removed
those unused imports.

Change-Id: I439dbc443d6da6d82700ff9caf2f4f2677f46b5f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158819
Reviewed-by: Hossein <hossein@libreoffice.org>
Tested-by: Hossein <hossein@libreoffice.org>
This commit is contained in:
Bogdan B
2023-12-29 09:54:42 +01:00
committed by Hossein
parent beb2b1d6b1
commit 605c288878
10 changed files with 1 additions and 13 deletions
+1 -2
View File
@@ -57,9 +57,8 @@ except ImportError:
raise
try:
from com.sun.star.beans import PropertyValue
from com.sun.star.document import XDocumentEventListener
from com.sun.star.io import IOException, XOutputStream
from com.sun.star.io import XOutputStream
except ImportError:
print("UNO API class not found: try to set URE_BOOTSTRAP variable")
print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc")
-1
View File
@@ -11,7 +11,6 @@
# Usage sample: ./bin/check-autocorr.py extras/source/autocorr/lang/tr/DocumentList.xml
import sys
import os
import xml.etree.ElementTree as ET
complete_file = sys.argv[1]
-1
View File
@@ -12,7 +12,6 @@
import requests
from bs4 import BeautifulSoup
import argparse
import sys
def parse_url(url):
crashReports = {}
-1
View File
@@ -17,7 +17,6 @@
#
import subprocess
import sys
import re
exported_symbols1 = set()
@@ -3,7 +3,6 @@
# Look for CXX files that are not referenced by any makefile
import subprocess
import sys
sourceFiles = set()
@@ -4,7 +4,6 @@
# Not 100% accurate
import subprocess
import sys
headerSet = set()
a = subprocess.Popen("git ls-files include/", stdout=subprocess.PIPE, shell=True)
-1
View File
@@ -6,7 +6,6 @@
#
import subprocess
import sys
import re
import multiprocessing
-3
View File
@@ -3,9 +3,6 @@
# A script to search our test logs and sort the messages by how common they are so we can start to
# reduce the noise a little.
import sys
import re
import io
import subprocess
# find . -name '*.log' | xargs grep -h 'warn:' | sort | uniq -c | sort -n --field-separator=: --key=5,6
-1
View File
@@ -17,7 +17,6 @@
# - no custom configure options required
# - no need to generate a dummy library to build a header
import glob
import json
import multiprocessing
import os
-1
View File
@@ -1,6 +1,5 @@
#!/usr/bin/env python3
import sys
import os
import subprocess
import json