summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-03-28 17:02:28 +0300
committerTor Lillqvist <tml@collabora.com>2018-03-28 17:02:28 +0300
commit850b401ebad13d20481f3ed01990c8070a33f6f1 (patch)
tree6ec81ec7135685f346573001068b4229ca9f0024 /scripting
parentf21e341d0fbfb39f7d5d976f89f00f844e201576 (diff)
Add mode lines and license blurb
Change-Id: Ifc319e6954665b71f8a98d6ec849a71bbf2b7318
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: