# HG changeset patch # User Sylvain Thénault # Date 1249075985 -7200 # Node ID a66fe74bd9fc100dd638d9225b598afd619d3bff # Parent d9c5a7e0563cbbf848fe096789f96aeb59a6c389 [R schema] dont give an iterator, it's a trap diff -r d9c5a7e0563c -r a66fe74bd9fc schema.py --- a/schema.py Fri Jul 31 23:32:07 2009 +0200 +++ b/schema.py Fri Jul 31 23:33:05 2009 +0200 @@ -869,9 +869,9 @@ """ self.info('loading %s schemas', ', '.join(config.cubes())) if config.apphome: - path = reversed([config.apphome] + config.cubes_path()) + path = tuple(reversed([config.apphome] + config.cubes_path())) else: - path = reversed(config.cubes_path()) + path = tuple(reversed(config.cubes_path())) try: return super(CubicWebSchemaLoader, self).load(config, path=path, **kwargs) finally: