projects
/
platform
/
core
/
uifw
/
nlp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d3d225
)
Return 0 when PyObject is not a kind of list(tuple)
65/258965/1
author
jaehong Park
<jay.ho.park@samsung.com>
Sat, 29 May 2021 03:39:43 +0000
(12:39 +0900)
committer
jaehong Park
<jay.ho.park@samsung.com>
Sat, 29 May 2021 03:39:43 +0000
(12:39 +0900)
Change-Id: I9dcc6c6b8306261fe2ffe610b1a6c99ec42e7be0
service/src/nltk.c
patch
|
blob
|
history
diff --git
a/service/src/nltk.c
b/service/src/nltk.c
index
91ca65f
..
eb3e0d0
100644
(file)
--- a/
service/src/nltk.c
+++ b/
service/src/nltk.c
@@
-130,7
+130,7
@@
int nltk_get_size_from_list(PyObject* list)
}
else
{
- return
-1
;
+ return
0
;
}
}
@@
-142,7
+142,7
@@
int nltk_get_size_from_tuple(PyObject* tuple)
}
else
{
- return
-1
;
+ return
0
;
}
}