Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
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
Weblate
gajim
Commits
1c6c7f15
Commit
1c6c7f15
authored
15 years ago
by
Yann Leboulanger
Browse files
Options
Downloads
Patches
Plain Diff
don't print libasyncns warning on stdout. Fixes #5407
parent
ee6480eb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/common/resolver.py
+0
-8
0 additions, 8 deletions
src/common/resolver.py
with
0 additions
and
8 deletions
src/common/resolver.py
+
0
−
8
View file @
1c6c7f15
...
...
@@ -41,14 +41,6 @@ except ImportError:
USE_LIBASYNCNS
=
False
log
.
debug
(
"
Import of libasyncns-python failed, getaddrinfo will block
"
,
exc_info
=
True
)
# FIXME: Remove these prints before release, replace with a warning dialog.
print
>>
sys
.
stderr
,
"
=
"
*
79
print
>>
sys
.
stderr
,
"
libasyncns-python not installed which means:
"
print
>>
sys
.
stderr
,
"
- nslookup will be used for SRV and TXT requests
"
print
>>
sys
.
stderr
,
"
- getaddrinfo will block
"
print
>>
sys
.
stderr
,
"
libasyncns-python can be found at https://launchpad.net/libasyncns-python
"
print
>>
sys
.
stderr
,
"
=
"
*
79
def
get_resolver
(
idlequeue
):
if
USE_LIBASYNCNS
:
...
...
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