(ShapefileStore._open_shapefile) (ShapefileStore.__init__): Factor opening the shapefile into a separate method (the new _open_shapefile). This makes the code a bit more readable but the real reason is that it makes some evil hacks easier. :-)