File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -349,20 +349,24 @@ def _pprint(text: str, prefix: str = ' '):
349349 yield f"<< { ppath } only in { Fore .MAGENTA } LEFT{ rst } "
350350 if show :
351351 yield from _pprint (change .t1 , " < " )
352+
352353 elif 'added' in chtype :
353354 yield f" >> { ppath } only in { Fore .BLUE } RIGHT{ rst } "
354355 if show :
355356 yield from _pprint (change .t2 , " > " )
357+
356358 elif 'changed' in chtype :
357359 yield f"<< - >> { ppath } changed value from '{ Fore .GREEN } { change .t1 } { rst } ' to '{ Fore .GREEN } { change .t2 } { rst } '"
358360 if show :
359361 yield from _pprint (change .t1 , " < " )
360362 yield from _pprint (change .t2 , " > " )
363+
361364 elif 'type_changes' in chtype :
362365 yield f"<< - >> { ppath } changed type and value from '{ Fore .GREEN } { change .t1 } { rst } ' to '{ Fore .GREEN } { change .t2 } { rst } '"
363366 if show :
364367 yield from _pprint (change .t1 , " < " )
365368 yield from _pprint (change .t2 , " > " )
369+
366370 elif 'diff' in chtype :
367371 start = path [0 :2 ]
368372 if start == ' ' :
You can’t perform that action at this time.
0 commit comments