From 1cd5fa6448842118b85cec5cc328704ca192000e Mon Sep 17 00:00:00 2001 From: Sverre Rabbelier Date: Tue, 24 Jun 2008 23:48:01 +0200 Subject: [PATCH] When specifying kwargs they should be in quotes when not part of a function call. Silly mistake, thanks to Florian Apolloner for pointing this out. --- src/git_stats/commit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git_stats/commit.py b/src/git_stats/commit.py index 3767033..caa6763 100644 --- a/src/git_stats/commit.py +++ b/src/git_stats/commit.py @@ -42,7 +42,7 @@ def prettyPrint(commits): if GIT_STATS_PRETTY_PRINT == "full": opts = ["-1", "--name-only"] - kwargs = { with_raw_output : True } + kwargs = { "with_raw_output" : True } elif GIT_STATS_PRETTY_PRINT == "oneline": opts = ["-1", "--pretty=oneline"] kwargs = {} -- 2.11.4.GIT