30 May
2011
30 May
'11
3:54 p.m.
On 5/30/2011 6:25 AM, tarek.ziade wrote: Should not old_out be sys.stderr, since that is what you over-write and 'restore'?
+ old_out = sys.stdout + sys.stderr = StringIO() + try: + dist = self.run_setup('install_dist', '--prefix=' + self.root_dir) + finally: + sys.sterr = old_out