If there is no pytz, then it will spew out errors into everything.
With this patch, it won't complain, unless running in the interactive interpreter, or like ./script.py, but not if the source or output is not a tty (e.g.: echo "string" | ./script.py, ./script.py | grep -e "".)
If there is no pytz, then it will spew out errors into everything. With this patch, it won't complain, unless running in the interactive interpreter, or like ./script.py, but not if the source or output is not a tty (e.g.: echo "string" | ./script.py, ./script.py | grep -e "".)