summaryrefslogtreecommitdiff
path: root/scripting/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-01-12 15:27:01 +0200
committerTor Lillqvist <tml@collabora.com>2018-03-27 20:52:06 +0200
commite25b905106598578449d5b2864654d0f58c3147f (patch)
tree986107aa6e4449daba8fcffb37c908d45686dbec /scripting/source
parent7e16966d517f1c25e673ddbb88e72cf418f5aeaa (diff)
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@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'scripting/source')
-rw-r--r--scripting/source/pyprov/pythonscript.py5
1 files changed, 0 insertions, 5 deletions
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")