X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/d6c4fb901ad64f828287556a26daab52449dab32..aa021ad04c81969c58558343fb1ff2409c82563e:/lib/vstorage.py?ds=sidebyside diff --git a/lib/vstorage.py b/lib/vstorage.py index 7a80c9b3..02f05039 100644 --- a/lib/vstorage.py +++ b/lib/vstorage.py @@ -350,7 +350,7 @@ class VersionedStorage(object): author = unicode(filectx.user(), "utf-8", 'replace').split('<')[0].strip() comment = unicode(filectx.description(), "utf-8", 'replace') - yield rev, date, author, comment + yield {"version": rev, "date": date, "author": author, "description": comment} def page_revision(self, title, rev): """Get unicode contents of specified revision of the page."""