Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
briar_repl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
fphemeral
briar_repl
Commits
0f92a147
Commit
0f92a147
authored
4 years ago
by
fphemeral
Browse files
Options
Downloads
Patches
Plain Diff
fix debug print
parent
1c89c616
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
briar_repl/contacts.py
+1
-6
1 addition, 6 deletions
briar_repl/contacts.py
with
1 addition
and
6 deletions
briar_repl/contacts.py
+
1
−
6
View file @
0f92a147
...
@@ -86,8 +86,7 @@ async def show_contact_info(contact_str=None):
...
@@ -86,8 +86,7 @@ async def show_contact_info(contact_str=None):
if
not
contact_str
:
if
not
contact_str
:
print
(
"
not contact was specified
"
)
print
(
"
not contact was specified
"
)
contact_str
=
await
ps
.
prompt_async
(
"
please specify contact:
"
)
contact_str
=
await
ps
.
prompt_async
(
"
please specify contact:
"
)
print
(
f
"
now got:
{
contact_str
}
"
)
# print(f"now got: {contact_str}")
return
contact
=
await
get_contact_id_by_alias
(
contact_str
)
contact
=
await
get_contact_id_by_alias
(
contact_str
)
if
not
contact
:
if
not
contact
:
print
(
f
"
contact
{
contact_str
}
not found
"
)
print
(
f
"
contact
{
contact_str
}
not found
"
)
...
@@ -156,10 +155,6 @@ async def remove_pending_contact(contact_str):
...
@@ -156,10 +155,6 @@ async def remove_pending_contact(contact_str):
topic
=
"
get_pending_contacts
"
,
topic
=
"
get_pending_contacts
"
,
params
=
remove_contact
,
params
=
remove_contact
,
)
)
import
httpx
httpx
.
delete
(
URLS
.
contacts_pending
,
)
return
json_resp
return
json_resp
...
...
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