From 7de9bab360838de6c106fbbf0242fa44fc81ce92 Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Thu, 8 Apr 2010 21:35:39 +0200 Subject: [PATCH] =?UTF-8?q?[affich=5Ftools]=20stdout.isatty=20non=20impl?= =?UTF-8?q?=C3=A9ment=C3=A9=20pour=20WSGI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit darcs-hash:20100408193539-ffbb2-ec227184cf245adef3cd19a90adcfc6cc7954cee.gz --- gestion/affich_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/affich_tools.py b/gestion/affich_tools.py index ba6bb39e..63e12b00 100644 --- a/gestion/affich_tools.py +++ b/gestion/affich_tools.py @@ -31,7 +31,7 @@ else: try: stdout_atty = sys.stdout.isatty() -except IOError: +except (IOError, AttributeError): stdout_atty = False def dialog(backtitle,arg,dialogrc='') :