From 6f16e331db65e70917a66c16daadaa879d6f2903 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sun, 25 Oct 2009 15:09:32 +0100 Subject: [PATCH] [equo] fix indentation --- client/text_configuration.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/client/text_configuration.py b/client/text_configuration.py index c08e95db7..ebf1c1481 100644 --- a/client/text_configuration.py +++ b/client/text_configuration.py @@ -285,16 +285,16 @@ def showdiff(fromfile, tofile): output = getoutput(diffcmd).split("\n") coloured = [] for line in output: - if line.startswith("---"): - line = darkred(line) - elif line.startswith("+++"): - line = red(line) - elif line.startswith("@@"): - line = brown(line) - elif line.startswith("-"): - line = blue(line) - elif line.startswith("+"): - line = darkgreen(line) + if line.startswith("---"): + line = darkred(line) + elif line.startswith("+++"): + line = red(line) + elif line.startswith("@@"): + line = brown(line) + elif line.startswith("-"): + line = blue(line) + elif line.startswith("+"): + line = darkgreen(line) coloured.append(line+"\n") f = open("/tmp/"+os.path.basename(fromfile), "w") f.writelines(coloured)