sw/qa/python/check_index.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 33f43bd7742a0a8803eb19dd4de7de2c7a0c8c78 Author: Edmund Wong <ew...@crazy-cat.org> Date: Tue Jan 17 10:24:07 2017 +0800 Fix check_index to be more pythonic. Change-Id: I02de34216805776ff86c9687e48d2942510f22e6 Reviewed-on: https://gerrit.libreoffice.org/33200 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: jan iversen <j...@documentfoundation.org> diff --git a/sw/qa/python/check_index.py b/sw/qa/python/check_index.py index 9c8c01c..80414f6 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() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits