From 6f6e360832e9a64b94fecb01f559a0fe15206246 Mon Sep 17 00:00:00 2001 From: Yevgen Lasman Date: Mon, 10 Jan 2022 15:09:54 -0800 Subject: [PATCH] Fix typo in revision history (#184) --- pyral/entity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyral/entity.py b/pyral/entity.py index 2882663..2be3f2f 100644 --- a/pyral/entity.py +++ b/pyral/entity.py @@ -201,7 +201,7 @@ def _hydrateRevisionHistory(self, collection_ref, collection): rev_hist_oid = rev_hist_raw['ObjectID'] revs_ref = rev_hist_raw['Revisions']['_ref'] # this is the "true" Revisions collection ref # create a RevisionHistory instance with oid, Name and _ref field information - rev_hist = RevisionHistory(rev_hist_oid, 'RevisonHistory', collection_ref, self._context) + rev_hist = RevisionHistory(rev_hist_oid, 'RevisionHistory', collection_ref, self._context) # chase the revs_ref set the RevisionHistory.Revisions attribute with that Revisions collection revisions = getCollection(self._context, revs_ref, _disableAugments=False) rev_hist.Revisions = [revision for revision in revisions]