Return-Path: Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: (qmail 52981 invoked from network); 4 Mar 2011 01:08:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Mar 2011 01:08:33 -0000 Received: (qmail 13438 invoked by uid 500); 4 Mar 2011 01:08:33 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 13409 invoked by uid 500); 4 Mar 2011 01:08:33 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 13401 invoked by uid 99); 4 Mar 2011 01:08:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 01:08:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 01:08:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E33AA2388A2C; Fri, 4 Mar 2011 01:08:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1076911 - /hadoop/common/branches/branch-0.20-security-patches/src/contrib/hod/support/logcondense.py Date: Fri, 04 Mar 2011 01:08:12 -0000 To: common-commits@hadoop.apache.org From: omalley@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110304010812.E33AA2388A2C@eris.apache.org> Author: omalley Date: Fri Mar 4 01:08:12 2011 New Revision: 1076911 URL: http://svn.apache.org/viewvc?rev=1076911&view=rev Log: commit 5a34c8290e4fb61981b15938a3868fd6b65f7cef Author: Lee Tucker Date: Thu Jul 30 17:40:13 2009 -0700 Applying patch 2372946.5113.patch Modified: hadoop/common/branches/branch-0.20-security-patches/src/contrib/hod/support/logcondense.py Modified: hadoop/common/branches/branch-0.20-security-patches/src/contrib/hod/support/logcondense.py URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/contrib/hod/support/logcondense.py?rev=1076911&r1=1076910&r2=1076911&view=diff ============================================================================== --- hadoop/common/branches/branch-0.20-security-patches/src/contrib/hod/support/logcondense.py (original) +++ hadoop/common/branches/branch-0.20-security-patches/src/contrib/hod/support/logcondense.py Fri Mar 4 01:08:12 2011 @@ -130,7 +130,7 @@ def runcondense(): # file name format: //hod-logs//[0-9]*-[jobtracker|tasktracker|datanode|namenode|]-hostname-YYYYMMDDtime-random.tar.gz # first strip prefix: if filename.startswith(options.log): - filename = filename.lstrip(options.log) + filename = filename[len(options.log):] if not filename.startswith('/'): filename = '/' + filename else: