this is in the maverick deb code:

    def create_row_processor(self, selectcontext, path, mapper, row,
adapter):
        key, col = self.key, self.columns[0]
        if adapter:
            col = adapter.columns[col]

        if col is not None and col in row:
            def new_execute(state, dict_, row):
                dict_[key] = row[col]
        else:
            def new_execute(state, dict_, row):
                state.expire_attribute_pre_commit(dict_, key)
        return new_execute, None

this is in the 0.6.4 eggs

    def create_row_processor(self, selectcontext, path, mapper, row,
adapter):
        key = self.key
        # look through list of columns represented here
        # to see which, if any, is present in the row.
        for col in self.columns:
            if adapter:
                col = adapter.columns[col]
            if col is not None and col in row:
                def new_execute(state, dict_, row):
                    dict_[key] = row[col]
                return new_execute, None
        else:
            def new_execute(state, dict_, row):
                state.expire_attribute_pre_commit(dict_, key)
            return new_execute, None

I filled a bug report in launchpad.
I can't understand the bug, i tried debugging but without success.

can you give me some tip?

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to