From bfd32fdce182a8f2157195e2e0027e63eafc2a9c Mon Sep 17 00:00:00 2001 From: Heikki Hokkanen Date: Mon, 17 Jan 2011 20:01:25 +0200 Subject: [PATCH] Trivial change to Wulf's patch. --- gitstats | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gitstats b/gitstats index 7b9b6ec..2ec7861 100755 --- a/gitstats +++ b/gitstats @@ -1288,7 +1288,7 @@ class GitStats: if len(args) < 2: print """ -Usage: gitstats [options] [] +Usage: gitstats [options] Options: -c key=value Override configuration value @@ -1315,9 +1315,7 @@ Default config values: data = GitDataCollector() data.loadCache(cachefile) - for path in args[0:-1]: - gitpath = path - + for gitpath in args[0:-1]: print 'Git path: %s' % gitpath os.chdir(gitpath) -- 2.11.4.GIT