From 3eb380700fa007c11e8d9bc2686d560d9edf9387 Mon Sep 17 00:00:00 2001 From: chrys Date: Sat, 1 Oct 2016 03:36:10 +0200 Subject: [PATCH] remove duplicate diff --- src/fenrir-package/screenDriver/linux.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/fenrir-package/screenDriver/linux.py b/src/fenrir-package/screenDriver/linux.py index ee063c53..65819380 100644 --- a/src/fenrir-package/screenDriver/linux.py +++ b/src/fenrir-package/screenDriver/linux.py @@ -135,7 +135,6 @@ class driver(): newScreenText = re.sub(' +',' ',newScreenText) diff = difflib.ndiff(oldScreenText, newScreenText) else: - diff = difflib.ndiff(oldScreenText, newScreenText) diff = difflib.ndiff( oldScreenText.split('\n'),\ newScreenText.split('\n'))