From: Eric S. Raymond Date: Sun, 30 Sep 2012 14:00:46 +0000 (-0400) Subject: Subversion conf file read is working. X-Git-Tag: 1.3~34 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=23ea101d70c39058be7dd9e6cb6cb94c800e1a35;p=irker.git Subversion conf file read is working. --- diff --git a/irkerhook.py b/irkerhook.py index c2ddb4c..b62a860 100755 --- a/irkerhook.py +++ b/irkerhook.py @@ -109,6 +109,8 @@ class GitExtractor: def load_preferences(extractor, conf): "Load preferences from a file in the repository root." + if not os.path.exists(conf): + return ln = 0 for line in open(conf): ln += 1