[Libreoffice-commits] core.git: scripting/source
Tor Lillqvist
tml at collabora.com
Tue Mar 27 18:52:29 UTC 2018
scripting/source/pyprov/pythonscript.py | 5 -----
1 file changed, 5 deletions(-)
New commits:
commit e25b905106598578449d5b2864654d0f58c3147f
Author: Tor Lillqvist <tml at collabora.com>
Date: Fri Jan 12 15:27:01 2018 +0200
Bin some dead code
We defined the same function member in the class PythonScriptProvider
twice. The first one was some accidental leftover surely.
Change-Id: I10eebab7084af790a9263176f01f7817fa5124ff
Reviewed-on: https://gerrit.libreoffice.org/51965
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Tor Lillqvist <tml at collabora.com>
diff --git a/scripting/source/pyprov/pythonscript.py b/scripting/source/pyprov/pythonscript.py
index 4803d0bebc23..e97784ce7025 100644
--- a/scripting/source/pyprov/pythonscript.py
+++ b/scripting/source/pyprov/pythonscript.py
@@ -980,11 +980,6 @@ class PythonScriptProvider( unohelper.Base, XBrowseNode, XScriptProvider, XNameC
def getType( self ):
return self.dirBrowseNode.getType()
- def getScript( self, uri ):
- log.debug( "DirBrowseNode getScript " + uri + " invoked" )
-
- raise IllegalArgumentException( "DirBrowseNode couldn't instantiate script " + uri , self , 0 )
-
def getScript( self, scriptUri ):
try:
log.debug( "getScript " + scriptUri + " invoked")
More information about the Libreoffice-commits
mailing list