Skip to content

Commit

Permalink
no more executebuiltin
Browse files Browse the repository at this point in the history
  • Loading branch information
piejanssens committed Nov 1, 2020
1 parent 4661d9b commit 8445e42
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion resources/lib/addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ def search():


def build_menu(items_url):
from xbmc import executebuiltin
from xbmcplugin import addDirectoryItem, endOfDirectory, setContent
setContent(plugin.handle, 'videos')
list_items = []
Expand Down
6 changes: 0 additions & 6 deletions tests/xbmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,6 @@ def getRating(self):
return 0


def executebuiltin(string, wait=False): # pylint: disable=unused-argument
"""A stub implementation of the xbmc executebuiltin() function"""
assert isinstance(string, basestring)
assert isinstance(wait, bool)


def executeJSONRPC(jsonrpccommand):
"""A reimplementation of the xbmc executeJSONRPC() function"""
assert isinstance(jsonrpccommand, basestring)
Expand Down

0 comments on commit 8445e42

Please sign in to comment.