Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
fc6e884b
Commit
fc6e884b
authored
8 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
python: adapt to new owner api
parent
9d7f6d28
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
python/opendht.pyx
+1
-1
1 addition, 1 deletion
python/opendht.pyx
python/opendht_cpp.pxd
+1
-1
1 addition, 1 deletion
python/opendht_cpp.pxd
with
2 additions
and
2 deletions
python/opendht.pyx
+
1
−
1
View file @
fc6e884b
...
...
@@ -139,7 +139,7 @@ cdef class Value(object):
property
owner
:
def
__get__
(
self
):
h
=
InfoHash
()
h
.
_infohash
=
self
.
_value
.
get
().
owner
.
getId
()
h
.
_infohash
=
self
.
_value
.
get
().
owner
.
get
().
getId
()
return
h
property
recipient
:
def
__get__
(
self
):
...
...
This diff is collapsed.
Click to expand it.
python/opendht_cpp.pxd
+
1
−
1
View file @
fc6e884b
...
...
@@ -86,7 +86,7 @@ cdef extern from "opendht/value.h" namespace "dht":
Value
(
const
uint8_t
*
dat_ptr
,
size_t
dat_len
)
except
+
string
toString
()
const
uint64_t
id
PublicKey
owner
shared_ptr
[
PublicKey
]
owner
InfoHash
recipient
vector
[
uint8_t
]
data
string
user_type
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment