[affich_tools] stdout.isatty non implémenté pour WSGI
darcs-hash:20100408193539-ffbb2-ec227184cf245adef3cd19a90adcfc6cc7954cee.gz
This commit is contained in:
parent
875020b610
commit
7de9bab360
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ else:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
stdout_atty = sys.stdout.isatty()
|
stdout_atty = sys.stdout.isatty()
|
||||||
except IOError:
|
except (IOError, AttributeError):
|
||||||
stdout_atty = False
|
stdout_atty = False
|
||||||
|
|
||||||
def dialog(backtitle,arg,dialogrc='') :
|
def dialog(backtitle,arg,dialogrc='') :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue