remove duplicate diff
This commit is contained in:
parent
00e1da4c15
commit
3eb380700f
@ -135,7 +135,6 @@ class driver():
|
|||||||
newScreenText = re.sub(' +',' ',newScreenText)
|
newScreenText = re.sub(' +',' ',newScreenText)
|
||||||
diff = difflib.ndiff(oldScreenText, newScreenText)
|
diff = difflib.ndiff(oldScreenText, newScreenText)
|
||||||
else:
|
else:
|
||||||
diff = difflib.ndiff(oldScreenText, newScreenText)
|
|
||||||
diff = difflib.ndiff( oldScreenText.split('\n'),\
|
diff = difflib.ndiff( oldScreenText.split('\n'),\
|
||||||
newScreenText.split('\n'))
|
newScreenText.split('\n'))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user