summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorEdmund Wong <ewong@crazy-cat.org>2017-01-17 10:24:07 +0800
committerjan iversen <jani@documentfoundation.org>2017-01-17 06:32:42 +0000
commit33f43bd7742a0a8803eb19dd4de7de2c7a0c8c78 (patch)
treede9b597bf4d57b80a9300cdd9ef6c5871460e488 /sw
parent98397a48f1f33be3405b0f462fc20422f6363b68 (diff)
Fix check_index to be more pythonic.
Change-Id: I02de34216805776ff86c9687e48d2942510f22e6 Reviewed-on: https://gerrit.libreoffice.org/33200 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/python/check_index.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/qa/python/check_index.py b/sw/qa/python/check_index.py
index 9c8c01c3963e..80414f6f066d 100644
--- a/sw/qa/python/check_index.py
+++ b/sw/qa/python/check_index.py
@@ -1,6 +1,5 @@
import unittest
import unohelper
-import os
from org.libreoffice.unotest import UnoInProcess
from com.sun.star.text.ControlCharacter import PARAGRAPH_BREAK
from com.sun.star.util import XRefreshListener
@@ -93,5 +92,7 @@ class CheckIndex(unittest.TestCase):
# close the document
xDoc.dispose()
+
+
if __name__ == "__main__":
unittest.main()