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

Senza version warning should not be printed for non-TTYs (piping result to awk etc) #373

Closed
hjacobs opened this issue Sep 30, 2016 · 0 comments
Assignees
Labels

Comments

@hjacobs
Copy link
Contributor

hjacobs commented Sep 30, 2016

The Senza version check currently destroys popular shell scripting such as:

senza li -o tsv | tail -n +2 | awk '{ print $1 }'

We should only print the warning if sys.stdout is a TTY.

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