Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Commits
ba80b8e5
Commit
ba80b8e5
authored
6 years ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
[mod]
#135
: remove not used get_pubkey_from_id()
parent
ed6e9cdf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
silkaj/wot.py
+0
-9
0 additions, 9 deletions
silkaj/wot.py
with
0 additions
and
9 deletions
silkaj/wot.py
+
0
−
9
View file @
ba80b8e5
...
...
@@ -225,12 +225,3 @@ async def is_member(pubkey, uid):
if
pubkey
in
member
[
"
pubkey
"
]
and
uid
in
member
[
"
uid
"
]:
return
True
return
False
async
def
get_pubkey_from_id
(
uid
):
client
=
ClientInstance
().
client
members
=
await
client
(
wot
.
members
)
for
member
in
members
[
"
results
"
]:
if
uid
==
member
[
"
uid
"
]:
return
member
[
"
pubkey
"
]
return
NO_MATCHING_ID
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