From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id DC52AE00A03; Wed, 13 Jul 2016 13:51:04 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.24 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B4C32E009EF for ; Wed, 13 Jul 2016 13:51:01 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP; 13 Jul 2016 13:50:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,359,1464678000"; d="scan'208";a="138692573" Received: from jlock-mobl1.ger.corp.intel.com ([10.252.2.48]) by fmsmga004.fm.intel.com with ESMTP; 13 Jul 2016 13:50:58 -0700 Message-ID: <1468443057.7977.22.camel@linux.intel.com> From: Joshua G Lock To: Bill Randle , yocto@yoctoproject.org Date: Wed, 13 Jul 2016 21:50:57 +0100 In-Reply-To: <1468434855-31099-1-git-send-email-william.c.randle@intel.com> References: <1468434855-31099-1-git-send-email-william.c.randle@intel.com> X-Mailer: Evolution 3.20.3 (3.20.3-1.fc24) Mime-Version: 1.0 Subject: Re: [yocto-autobuilder][PATCHv3] PublishLayerTarballs.py: don't change directories for Eclipse builds X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2016 20:51:04 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit On Wed, 2016-07-13 at 11:34 -0700, Bill Randle wrote: > When publishing eclipse tarballs, we are already in the correct > directory, > so skip the change direction operation (which will generate an > error). Merged to master, thanks. Joshua > > Signed-off-by: Bill Randle > --- > V3: fix another Python syntax error (unbelievable!) > >  .../site- > packages/autobuilder/buildsteps/PublishLayerTarballs.py       | 3 ++- >  1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/lib/python2.7/site- > packages/autobuilder/buildsteps/PublishLayerTarballs.py > b/lib/python2.7/site- > packages/autobuilder/buildsteps/PublishLayerTarballs.py > index c140725..7c1ce4a 100644 > --- a/lib/python2.7/site- > packages/autobuilder/buildsteps/PublishLayerTarballs.py > +++ b/lib/python2.7/site- > packages/autobuilder/buildsteps/PublishLayerTarballs.py > @@ -38,7 +38,8 @@ class PublishLayerTarballs(ShellCommand): >          snapshot = "" >          self.basedir=os.path.join(os.path.join(os.path.join( >                                      self.workerdir, buildername), > self.workdir)) > -        if self.layername is not "poky": > +        if self.layername is not "poky" \ > +           and "eclipse" not in self.layername: >              command = "cd " + self.layername + ";" >          else: >              command = ""