summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Wittig <max.wittig95@gmail.com>2019-09-08 15:12:23 +0200
committerMax Wittig <max.wittig95@gmail.com>2019-09-08 15:13:18 +0200
commit5066e68b398039beb5e1966ba1ed7684d97a8f74 (patch)
tree58728e061fb9c047333641a34a4243eed69bc07c
parentd64edcb4851ea62e72e3808daf7d9b4fdaaf548b (diff)
downloadgitlab-5066e68b398039beb5e1966ba1ed7684d97a8f74.tar.gz
fix(todo): mark_all_as_done doesn't return anything
-rw-r--r--gitlab/v4/objects.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index 76033b2..95ad30a 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -4644,10 +4644,6 @@ class TodoManager(ListMixin, DeleteMixin, RESTManager):
int: The number of todos maked done
"""
result = self.gitlab.http_post("/todos/mark_as_done", **kwargs)
- try:
- return int(result)
- except ValueError:
- return 0
class GeoNode(SaveMixin, ObjectDeleteMixin, RESTObject):