summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects.py
diff options
context:
space:
mode:
authorMax Wittig <max.wittig@siemens.com>2019-09-08 16:57:18 +0200
committerGitHub <noreply@github.com>2019-09-08 16:57:18 +0200
commit040894d245709c5c2524d59d2b228a21dd74d1a4 (patch)
treee7788031c43af11a46af359710c00d145ad0d9cb /gitlab/v4/objects.py
parentfef085dca35d6b60013d53a3723b4cbf121ab2ae (diff)
parentc9c76a257d2ed3b394f499253d890c2dd9a01e24 (diff)
downloadgitlab-040894d245709c5c2524d59d2b228a21dd74d1a4.tar.gz
Merge pull request #878 from python-gitlab/test/todo-unit-test
Test/todo unit test
Diffstat (limited to 'gitlab/v4/objects.py')
-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):