All pastes #935264 Raw Edit

Stuff

public python v1 · immutable
·published 2008-03-09 14:13 UTC
rendered paste body
            if not (line.userid in user_cache):                user_cache[line.userid] = user.User(self.request, line.userid, auth_method="text_docbook:740")            author = user_cache[line.userid]            if author and author.name:                self.addTextElem(revision, "authorinitials", author.name)            else:                self.addTextElem(revision, "authorinitials", line.hostname or "")