From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QsaIB-0001uk-7C for garchives@archives.gentoo.org; Sun, 14 Aug 2011 12:59:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F7EA21C0BB; Sun, 14 Aug 2011 12:59:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DAB9321C0BB for ; Sun, 14 Aug 2011 12:59:37 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2C6F21B4046 for ; Sun, 14 Aug 2011 12:59:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 4E1EB80040 for ; Sun, 14 Aug 2011 12:59:36 +0000 (UTC) From: "Andrea Arteaga" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrea Arteaga" Message-ID: Subject: [gentoo-commits] proj/auto-numerical-bench:master commit in: / X-VCS-Repository: proj/auto-numerical-bench X-VCS-Files: benchprint.py X-VCS-Directories: / X-VCS-Committer: spiros X-VCS-Committer-Name: Andrea Arteaga X-VCS-Revision: e0b87487e792a28e25add7aaa04e797764d8303f Date: Sun, 14 Aug 2011 12:59:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: ebe08d075197b3e9bb31f89bc6fe6a9f commit: e0b87487e792a28e25add7aaa04e797764d8303f Author: Andrea Arteaga gmail com> AuthorDate: Sun Aug 14 12:59:10 2011 +0000 Commit: Andrea Arteaga gmail com> CommitDate: Sun Aug 14 12:59:10 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/auto-numerica= l-bench.git;a=3Dcommit;h=3De0b87487 Solved bug in benchprint --- benchprint.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benchprint.py b/benchprint.py index 8c394e2..b37acbc 100644 --- a/benchprint.py +++ b/benchprint.py @@ -20,7 +20,7 @@ if needsinitialization: =20 if self._level <=3D 0: print str(arg) - bu.mkdir(dirname(logfile)) + bu.mkdir(dirname(self._logfile)) logfile =3D file(self._logfile, 'a') print >> logfile, str(arg) logfile.close() @@ -28,7 +28,7 @@ if needsinitialization: =20 printstr =3D (self._level-1)*" " + "-- " + str(arg) if self._level <=3D self._maxlevel-1: - bu.mkdir(dirname(logfile)) + bu.mkdir(dirname(self._logfile)) logfile =3D file(self._logfile, 'a') print >> logfile, printstr logfile.close()