Subversion conf file read is working.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 30 Sep 2012 14:00:46 +0000 (10:00 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 30 Sep 2012 14:00:46 +0000 (10:00 -0400)
irkerhook.py

index c2ddb4c636d627c836c7a5c8120dfae005f3819f..b62a860ccfef7cee7aa19981a5199a0644457137 100755 (executable)
@@ -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