From 62a65b20b1d72f212f28d52e061828e44b47cd92 Mon Sep 17 00:00:00 2001 From: Chronial Date: Sat, 15 Feb 2014 09:50:09 +0100 Subject: [PATCH] bugfix --- snapraid-runner.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snapraid-runner.py b/snapraid-runner.py index 701117a..c6d3f1e 100644 --- a/snapraid-runner.py +++ b/snapraid-runner.py @@ -216,6 +216,8 @@ def run(): logging.info("*" * 60) diff_results = Counter(line.split(" ")[0] for line in diff_out) + diff_results = dict((x, diff_results[x]) for x in + ["add", "remove", "move", "update"]) logging.info(("Diff results: {add} added, {remove} removed, " + "{move} moved, {update} modified").format(**diff_results))