def get(self, id):
        c = self.get_cursor()
        c.execute( "SELECT profile FROM profiles WHERE id = ?", (id,) )
        
        try:
            (profile,) = c.next()
        except __HOLE__:
            return None
        finally:
            c.close()
        
        return unpack_coords( profile )
dataset/ETHPy150Open bmander/graphserver/pygs/graphserver/ext/osm/profiledb.py/ProfileDB.get