From cd3f4f20de1aedcb2b4022b55bd886ebb3404372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Fri, 10 Jun 2005 13:32:08 +0000 Subject: [PATCH] =?UTF-8?q?-=20util.information=20art=C4=B1k=20sys.stdout?= =?UTF-8?q?=20kullan=C4=B1yor.=20"information"=20=20=20bilgisine=20print?= =?UTF-8?q?=20ile=20yeni=20sat=C4=B1r=20eklemeye=20gerek=20yok.=20istemcis?= =?UTF-8?q?i=20karar=20=20=20versin...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fetcher percentHook kullanıyor.... --- src/util.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/util.py b/src/util.py index 7ea20fae..f461683d 100644 --- a/src/util.py +++ b/src/util.py @@ -1,9 +1,11 @@ # -*- coding: utf-8 -*- import os +import sys import string def information(message): - print message + sys.stdout.write(message) + sys.stdout.flush() # check if directory exists, and create if it doesn't # works recursively