aboutsummaryrefslogtreecommitdiff
path: root/gitosis
diff options
context:
space:
mode:
authorTommi Virtanen <tv@eagain.net>2007-08-28 21:43:13 -0700
committerTommi Virtanen <tv@eagain.net>2007-08-28 21:43:13 -0700
commit15cc12caf006038bc1978aa997013ecdfe00467c (patch)
tree4eb2bf9bf949f1fefd71ee2939ad3f4496ca8a84 /gitosis
parentFix default value for gitosis.repositories config variable in gitosis-gitweb. (diff)
downloadgitosis-dakkar-15cc12caf006038bc1978aa997013ecdfe00467c.tar.gz
gitosis-dakkar-15cc12caf006038bc1978aa997013ecdfe00467c.tar.bz2
gitosis-dakkar-15cc12caf006038bc1978aa997013ecdfe00467c.zip
Fix typo.
Diffstat (limited to 'gitosis')
-rw-r--r--gitosis/gitweb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitosis/gitweb.py b/gitosis/gitweb.py
index 2bb74d6..01f13db 100644
--- a/gitosis/gitweb.py
+++ b/gitosis/gitweb.py
@@ -35,7 +35,7 @@ def _escape_filename(s):
s = s.replace('"', '\\"')
return s
-def _getReposityDir(config):
+def _getRepositoryDir(config):
repositories = os.path.expanduser('~')
try:
path = config.get('gitosis', 'repositories')
@@ -57,7 +57,7 @@ def generate(config, fp):
"""
log = logging.getLogger('gitosis.access.haveAccess')
- repositories = _getReposityDir(config)
+ repositories = _getRepositoryDir(config)
try:
global_enable = config.getboolean('gitosis', 'gitweb')