Skip to content
Browse files

Bug 656693 - JSObject *args, **kwargs accepted but never used. r=jhammel

  • Loading branch information...
1 parent d1a27fb commit 99648017654635eec470ab8408dacfe230204dde @bmars bmars committed with whimboo
Showing with 2 additions and 4 deletions.
  1. +2 −4 jsbridge/jsbridge/jsobjects.py
View
6 jsbridge/jsbridge/jsobjects.py
@@ -68,8 +68,7 @@ class JSObject(object):
"""Base javascript object representation."""
_loaded_ = False
- def __init__(self, bridge, name, override_set=False,
- description=None, *args, **kwargs):
+ def __init__(self, bridge, name, override_set=False, description=None):
self._bridge_ = bridge
if not override_set:
name = bridge.set(name)['data']
@@ -131,8 +130,7 @@ class JSFunction(JSObject):
name set to the full javascript call for this function.
"""
- def __init__(self, bridge, name, override_set=False,
- description=None, *args, **kwargs):
+ def __init__(self, bridge, name, override_set=False, description=None):
self._bridge_ = bridge
self._name_ = name
self._description_ = description

0 comments on commit 9964801

Please sign in to comment.
Something went wrong with that request. Please try again.