summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-03-28 17:02:28 +0300
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-04-03 16:37:18 +0200
commit6540f3f780fa200afea1e50c280a13918c7a07a1 (patch)
tree7514813c19f4bd13c056847fbc6bed241c102325 /scripting
parentf7ef2421af666b4df4d82b6e897eaa9bd38c3508 (diff)
Add mode lines and license blurb
Change-Id: Ifc319e6954665b71f8a98d6ec849a71bbf2b7318 (cherry picked from commit 850b401ebad13d20481f3ed01990c8070a33f6f1) Reviewed-on: https://gerrit.libreoffice.org/52096 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk> Reviewed-on: https://gerrit.libreoffice.org/52319
Diffstat (limited to 'scripting')
-rw-r--r--scripting/examples/python/NamedRanges.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripting/examples/python/NamedRanges.py b/scripting/examples/python/NamedRanges.py
index 812cabb583e0..b699f286fc26 100644
--- a/scripting/examples/python/NamedRanges.py
+++ b/scripting/examples/python/NamedRanges.py
@@ -1,3 +1,12 @@
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+#
+# This file is part of the LibreOffice project.
+#
+# 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
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
import traceback
import uno
@@ -46,3 +55,5 @@ def DeleteNamedRange(name):
tb = e.__traceback__
traceback.print_tb(tb)
return None
+
+# vim: set shiftwidth=4 softtabstop=4 expandtab: