2.5 bpy attributeerror (bpy_prop_collection)

hi
i am getting this error after compiling blender from svn.
and executing blender with command line options that passes
a python script.
i.e ./blender -b file.blend -P script.py

AttributeError: ‘bpy_prop_collection’ object has no attribute ‘active’

the problem is at
sce =bpy.data.scenes.active
any suggestions?

Blender 2.5
shoudn’t it be:
bpy.context.scene.objects.active
???
(can be used to set an object active …)

Or you want this:
sce = bpy.context.scene