mirror of https://github.com/kivy/pyjnius.git
no need to raise an exception here
This commit is contained in:
parent
08a9d7888d
commit
78a68134ae
|
@ -52,8 +52,6 @@ cdef void populate_args(JNIEnv *j_env, list definition_args, jvalue *j_args, arg
|
|||
elif isinstance(py_arg, JavaObject):
|
||||
jo = py_arg
|
||||
j_args[index].l = jo.obj
|
||||
raise JavaException('JavaObject needed for argument '
|
||||
'{0}'.format(index))
|
||||
else:
|
||||
raise JavaException('Invalid python object for this '
|
||||
'argument. Want {0!r}, got {1!r}'.format(
|
||||
|
|
Loading…
Reference in New Issue