diff options
author | Hiroaki KAWAI <kawai@stratosphere.co.jp> | 2014-04-09 10:09:16 +0900 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-04-09 09:22:47 +0200 |
commit | cb319e22f5680b49fad62dc7f0eb35b7d737cb3b (patch) | |
tree | 5a83d6c127f5842fb9bb4b04c0ba55ed250ce3e1 /python | |
parent | 65f218bcae7824f833c2b6effcb37a207c2de584 (diff) | |
download | libnl-cb319e22f5680b49fad62dc7f0eb35b7d737cb3b.tar.gz |
python: fix wrongly passing argument to function in ObjIterator.next()
self.__next__() bound method does not take an extra argument.
https://github.com/thom311/libnl/pull/57
Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'python')
-rw-r--r-- | python/netlink/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/netlink/core.py b/python/netlink/core.py index fbd1c9e6..e5864cf5 100644 --- a/python/netlink/core.py +++ b/python/netlink/core.py @@ -449,7 +449,7 @@ class ObjIterator(object): return capi.nl_cache_get_next(self._nl_object) def next(self): - return self.__next__(self) + return self.__next__() def __next__(self): if self._end: |