From deeb3ac15690c04db0caf80a930e3e89789edf31 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sat, 26 May 2012 14:35:47 +0200 Subject: [PATCH] skip not existing repository --- bin/gitlog2timesheet.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/gitlog2timesheet.py b/bin/gitlog2timesheet.py index 95589b1..33763aa 100644 --- a/bin/gitlog2timesheet.py +++ b/bin/gitlog2timesheet.py @@ -68,6 +68,8 @@ if options.total: projecttime = {} for repo in args: + if not os.path.exists(repo): + continue val = gitlog(location = repo) if options.debug: print val