Skip to content

Commit 6f6e360

Browse files
authored
Fix typo in revision history (#184)
1 parent de84dea commit 6f6e360

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyral/entity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def _hydrateRevisionHistory(self, collection_ref, collection):
201201
rev_hist_oid = rev_hist_raw['ObjectID']
202202
revs_ref = rev_hist_raw['Revisions']['_ref'] # this is the "true" Revisions collection ref
203203
# create a RevisionHistory instance with oid, Name and _ref field information
204-
rev_hist = RevisionHistory(rev_hist_oid, 'RevisonHistory', collection_ref, self._context)
204+
rev_hist = RevisionHistory(rev_hist_oid, 'RevisionHistory', collection_ref, self._context)
205205
# chase the revs_ref set the RevisionHistory.Revisions attribute with that Revisions collection
206206
revisions = getCollection(self._context, revs_ref, _disableAugments=False)
207207
rev_hist.Revisions = [revision for revision in revisions]

0 commit comments

Comments
 (0)