summaryrefslogtreecommitdiff
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 14:40:25 +0200
commitfb05893bf019abc1fd0cfea64e32de10f2707b4f (patch)
tree211460f520a5d00aa810b77e15065758386f0e83
parentca6dc501e3b888a59d2ec906010d6db2c2cda919 (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>
-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: