[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: RedHat 7.3 RPM build broken on trunk

From: David Ripton <dripton_at_ripton.net>
Date: 2004-04-03 20:54:45 CEST

Justin Erenkrantz wrote:
> --On Saturday, April 3, 2004 12:09 PM -0600 David Summers
> <david@summersoft.fay.ar.us> wrote:
>
>> File "build/generator/gen_make.py", line 41
>> sources += self.graph.get_sources(gen_base.DT_NONLIB, target_ob.name)
>> ^
>> SyntaxError: invalid syntax
>> ERROR: gen-make.py failed
>> error: Bad exit status from /home/dsummers/rpms/tmp/rpm-tmp.14116 (%prep)
>
>
> Sounds like I might have introduced a python2-ism into gen_make. So,
> what would be the python1-idiom for appending a list - i.e. the output
> from get_sources needs to be appended to sources? -- justin

alist.extend(blist)

-- 
David Ripton    dripton@ripton.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 3 20:55:05 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.