Kaydet (Commit) e25b9051 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

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/51965Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTor Lillqvist <tml@collabora.com>
üst 7e16966d
...@@ -980,11 +980,6 @@ class PythonScriptProvider( unohelper.Base, XBrowseNode, XScriptProvider, XNameC ...@@ -980,11 +980,6 @@ class PythonScriptProvider( unohelper.Base, XBrowseNode, XScriptProvider, XNameC
def getType( self ): def getType( self ):
return self.dirBrowseNode.getType() 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 ): def getScript( self, scriptUri ):
try: try:
log.debug( "getScript " + scriptUri + " invoked") log.debug( "getScript " + scriptUri + " invoked")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment