diff --git a/hshetl/entities.py b/hshetl/entities.py index 8518306a61548375a5111cf5fcf352f51482c307..c330310c3f63e37f36d7d69ca98b321a48651422 100644 --- a/hshetl/entities.py +++ b/hshetl/entities.py @@ -627,7 +627,10 @@ class EntityList(list): if operation == OPERATION_INSERT: value = u'\033[32m' + source_value + u'\033[0m' elif operation == OPERATION_UPDATE: - value = u'\033[31m' + target_value + u'\033[0m' + u'\n' + u'\033[32m' + source_value + u'\033[0m' + if target_value != source_value: + value = u'\033[31m' + target_value + u'\033[0m' + u'\n' + u'\033[32m' + source_value + u'\033[0m' + else: + value = source_value elif operation == OPERATION_DELETE: value = u'\033[31m' + target_value + u'\033[0m' else: