* viewcvs/lib/vclib/svn/__init__.py

(get_revision_info): Wrap reads from the revision property hash with
    str() to ensure conversion from "buffer" type.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1125 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/tags/1.0.0-rc1
cmpilato 2005-10-11 16:59:34 +00:00
parent 30f1537eb7
commit df37902e41
1 changed files with 3 additions and 3 deletions

View File

@ -249,9 +249,9 @@ def get_revision_info(svnrepos):
# Now get the revision property info
props = editor.get_root_props()
author = props.get(core.SVN_PROP_REVISION_AUTHOR, None)
msg = props.get(core.SVN_PROP_REVISION_LOG, None)
date = _datestr_to_date(props.get(core.SVN_PROP_REVISION_DATE, None),
author = str(props.get(core.SVN_PROP_REVISION_AUTHOR, None))
msg = str(props.get(core.SVN_PROP_REVISION_LOG, None))
date = _datestr_to_date(str(props.get(core.SVN_PROP_REVISION_DATE, None)),
svnrepos.pool)
return date, author, msg, cps.get_changes()