Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange characters when output is redirected #211

Closed
lzap opened this issue Nov 28, 2019 · 1 comment
Closed

Strange characters when output is redirected #211

lzap opened this issue Nov 28, 2019 · 1 comment
Assignees
Labels

Comments

@lzap
Copy link
Contributor

lzap commented Nov 28, 2019

Hey, when I redirect the output to mailx it comes with some strange characters. This does not look like terminal control characters, it's weird:

b'Status report for the week 47 (2019-11-18 to 2019-11-24).'
b'\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n [email protected]\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'

b'* Bugs posted: 3'
b'    * BZ#1713194 - [RFE] New check - warning when there are many fact names'
b'    * BZ#1715999 - Use Infoblox API for DNS conflict check and not system resolver'
b'    * BZ#1770999 - SELinux denials when connecting to cockpit using REX'

Any clue what are these? Be for binary mabye? UTF-8 encoding issue?

@psss psss self-assigned this Dec 2, 2019
@psss psss added the bug label Dec 2, 2019
@psss
Copy link
Owner

psss commented Dec 2, 2019

Seems with python3 it's no more necessary to explicitly handle scenario without a tty attached. Let's remove the custom eprint() function.

@psss psss closed this as completed in a0f514e Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants