Skip to content

Commit

Permalink
Fix typo in revision history (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
AjaxOdessa authored Jan 10, 2022
1 parent de84dea commit 6f6e360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyral/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 6f6e360

Please sign in to comment.