diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-01-12 15:27:01 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-04-03 16:36:13 +0200 |
commit | 56b8f9af4c0b3954708db574001c593ded70dbab (patch) | |
tree | b3778fab2dfc2ed6c3b3b2efb5eb632e39cccad7 /scripting | |
parent | 60dbde6a1d93fdf450fe61fb67e382531128aa1d (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>
(cherry picked from commit e25b905106598578449d5b2864654d0f58c3147f)
Reviewed-on: https://gerrit.libreoffice.org/52088
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Reviewed-on: https://gerrit.libreoffice.org/52311
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/pyprov/pythonscript.py | 5 |
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") |