From 5979f7f93afa9446b5249ba2192ad41e3f2916e2 Mon Sep 17 00:00:00 2001 From: pallav Date: Mon, 13 Aug 2018 19:37:14 +0530 Subject: [PATCH] Fix typo in revision_diff function Change-Id: I8fc875825d8e66c3bb9238858de0112ced0538ed --- deckhand/db/sqlalchemy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deckhand/db/sqlalchemy/api.py b/deckhand/db/sqlalchemy/api.py index 4e334b62..0a6b78c5 100644 --- a/deckhand/db/sqlalchemy/api.py +++ b/deckhand/db/sqlalchemy/api.py @@ -704,7 +704,7 @@ def revision_documents_get(revision_id=None, include_history=True, # NOTE(fmontei): No need to include `@require_revision_exists` decorator as -# the this function immediately calls `revision_documents_get` for both +# this function immediately calls `revision_documents_get` for both # revision IDs, which has the decorator applied to it. def revision_diff(revision_id, comparison_revision_id): """Generate the diff between two revisions. @@ -798,7 +798,7 @@ def revision_diff(revision_id, comparison_revision_id): return (sorted([(d['data_hash'], d['metadata_hash']) for d in b1]) == sorted([(d['data_hash'], d['metadata_hash']) for d in b2])) - # If the list of documents for each bucket is indentical, then the result + # If the list of documents for each bucket is identical, then the result # is "unmodified", else "modified". for bucket_name in shared_buckets: unmodified = _compare_buckets(buckets[bucket_name],