summaryrefslogtreecommitdiff
path: root/scripting/source/pyprov
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashnakash@gmail.com>2016-01-10 14:17:20 +0000
commit64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch)
tree772fc0f308549b9416fbcb06bce2bf0e0f5809cc /scripting/source/pyprov
parentd61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff)
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'scripting/source/pyprov')
-rw-r--r--scripting/source/pyprov/msgbox.py4
-rw-r--r--scripting/source/pyprov/pythonscript.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/scripting/source/pyprov/msgbox.py b/scripting/source/pyprov/msgbox.py
index 16405f719412..3f2be64f4d13 100644
--- a/scripting/source/pyprov/msgbox.py
+++ b/scripting/source/pyprov/msgbox.py
@@ -8,7 +8,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-# prepare pythoin environnement - Add the path of this class
+# prepare Python environment - Add the path of this class
from os import path
from sys import modules
from sys import path as syspath
@@ -30,7 +30,7 @@ from com.sun.star.awt.TextAlign import RIGHT as right
from com.sun.star.awt import XActionListener
class MsgBox(unohelper.Base):
- """Inspect UNO object, link to sdk and recusrsive calls"""
+ """Inspect UNO object, link to sdk and recursive calls"""
def __init__(self, aContext):
"""acontext : a Valid UNO context
diff --git a/scripting/source/pyprov/pythonscript.py b/scripting/source/pyprov/pythonscript.py
index c62c22872f9c..a2fc4f055a10 100644
--- a/scripting/source/pyprov/pythonscript.py
+++ b/scripting/source/pyprov/pythonscript.py
@@ -81,7 +81,7 @@ def getLogTarget():
systemPath = uno.fileUrlToSystemPath( userInstallation + "/Scripts/python/log.txt" )
ret = open( systemPath , "a" )
except:
- print("Exception during creation of pythonscript logfile: "+ lastException2String() + "\n, delagating log to stdout\n")
+ print("Exception during creation of pythonscript logfile: "+ lastException2String() + "\n, delegating log to stdout\n")
return ret
class Logger(LogLevel):