From 9ea2d463926b049c342163bd5324002ac5c5e8e6 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Tue, 28 Aug 2007 21:41:52 -0700 Subject: [PATCH] Fix default value for gitosis.repositories config variable in gitosis-gitweb. --- gitosis/gitweb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitosis/gitweb.py b/gitosis/gitweb.py index 08f62f5..2bb74d6 100644 --- a/gitosis/gitweb.py +++ b/gitosis/gitweb.py @@ -40,7 +40,7 @@ def _getReposityDir(config): try: path = config.get('gitosis', 'repositories') except (NoSectionError, NoOptionError): - pass + repositories = os.path.join(repositories, 'repositories') else: repositories = os.path.join(repositories, path) return repositories