From: Adriana Draghici Date: Thu, 11 Mar 2010 16:55:39 +0000 (+0000) Subject: Tribler - modified cmdlinedl output to stdout. X-Git-Tag: getopt_long~141 X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=e95008e593edd28d22654b81d26ba3d183a592db;p=cs-p2p-next.git Tribler - modified cmdlinedl output to stdout. --- diff --git a/tribler-mod/Tribler/Tools/cmdlinedl.py b/tribler-mod/Tribler/Tools/cmdlinedl.py index 95172af..5c17f3e 100644 --- a/tribler-mod/Tribler/Tools/cmdlinedl.py +++ b/tribler-mod/Tribler/Tools/cmdlinedl.py @@ -21,8 +21,9 @@ from Tribler.Core.BitTornado.__init__ import version, report_email # Transfers' status info is output into status_file. FILE_NAME = "status_msg.log" #+ strftime("_%d_%b_%Y_%H_%M_%S", localtime()) + ".log" -status_file = open(FILE_NAME, 'w'); +#status_file = open(FILE_NAME, 'w'); +status_file = sys.stdout # for the automated testing commander infrastructure def usage(): print "Usage: python cmdlinedl.py [options] torrent_file" print "Options:"