mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Prevent garbage from readline on standard output of dogtag-ipa-retrieve-agent.
https://fedorahosted.org/freeipa/ticket/4064
This commit is contained in:
parent
397b2876e2
commit
1357eade4c
@ -23,6 +23,10 @@
|
||||
# retrieve the updated certificate from IPA.
|
||||
|
||||
import os
|
||||
# Prevent garbage from readline on standard output
|
||||
# (see https://fedorahosted.org/freeipa/ticket/4064)
|
||||
if not os.isatty(1):
|
||||
os.environ['TERM'] = 'dumb'
|
||||
import sys
|
||||
import shutil
|
||||
import tempfile
|
||||
|
Loading…
Reference in New Issue
Block a user