summaryrefslogtreecommitdiff
path: root/uitest/libreoffice/calc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-10-26 22:13:33 +0200
committerMichael Stahl <mstahl@redhat.com>2016-10-26 22:16:08 +0200
commitaa70294ffc0abbeeb30b4c4001e4db8b3539bf75 (patch)
tree225914ab32f8c72269b06b82de20cf7e959600e4 /uitest/libreoffice/calc
parent22d0970e690d7a623619a84d5054b6f92b7acea4 (diff)
normalize existing emacs/vim mode-lines in python files
Bunch of these were setting C++ or Make modes and icky tabs... Also, reportedly Emacs can figure out to enable python-mode automatically. Change-Id: I50072488fb92cb4d27aa3f74f717a28ae3967543
Diffstat (limited to 'uitest/libreoffice/calc')
-rw-r--r--uitest/libreoffice/calc/conditional_format.py5
-rw-r--r--uitest/libreoffice/calc/document.py4
2 files changed, 4 insertions, 5 deletions
diff --git a/uitest/libreoffice/calc/conditional_format.py b/uitest/libreoffice/calc/conditional_format.py
index adffc297410a..5acd3c168de0 100644
--- a/uitest/libreoffice/calc/conditional_format.py
+++ b/uitest/libreoffice/calc/conditional_format.py
@@ -1,4 +1,4 @@
-# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -10,5 +10,4 @@
def get_conditional_format_from_sheet(sheet):
return sheet.getPropertyValue("ConditionalFormats")
-
-# vim:set shiftwidth=4 softtabstop=4 expandtab: */
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/uitest/libreoffice/calc/document.py b/uitest/libreoffice/calc/document.py
index 356c5ec9954d..eea8d650df9b 100644
--- a/uitest/libreoffice/calc/document.py
+++ b/uitest/libreoffice/calc/document.py
@@ -1,4 +1,4 @@
-# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -8,4 +8,4 @@
def get_sheet_from_doc(document, index):
return document.getSheets().getByIndex(index)
-# vim:set shiftwidth=4 softtabstop=4 expandtab: */
+# vim: set shiftwidth=4 softtabstop=4 expandtab: