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

[PATCH] python 2.1 support (build/generator/gen_base.py)

From: Martin Furter <mf_at_rola.ch>
Date: 2003-10-05 21:28:02 CEST

Today i wanted to update svn and got an error in
TypeError: 'in' or 'not in' needs sequence right argument
ERROR: gen-make.py failed

Here's a patch:

Index: build/generator/gen_base.py
--- build/generator/gen_base.py (revision 7308)
+++ build/generator/gen_base.py (working copy)
@@ -95,7 +95,7 @@
     """Return a list of section objects from a string of section
     sections = [ ]
     for section_name in string.split(section_list):
- if section_name not in self.skip_sections:
+ if not self.skip_sections.has_key( section_name ):
     return sections


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 5 21:29:18 2003

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.