aboutsummaryrefslogtreecommitdiff
path: root/gitosis/gitweb.py
diff options
context:
space:
mode:
authorTommi Virtanen <tv@eagain.net>2007-11-15 22:22:19 +0200
committerTommi Virtanen <tv@eagain.net>2007-11-15 22:22:19 +0200
commit5bd5bd5bfcf6215e7120f12ed68118667c762c79 (patch)
treea89a5036410c05f9658f38cc586c4fbd3ac0ca93 /gitosis/gitweb.py
parentRemove TODO to create gitweb.conf, that would be a security issue. (diff)
downloadgitosis-dakkar-5bd5bd5bfcf6215e7120f12ed68118667c762c79.tar.gz
gitosis-dakkar-5bd5bd5bfcf6215e7120f12ed68118667c762c79.tar.bz2
gitosis-dakkar-5bd5bd5bfcf6215e7120f12ed68118667c762c79.zip
Give meaningful name to gitweb projects.list generation.
Remove mentions of cancelled gitweb.conf generation from docstrings.
Diffstat (limited to 'gitosis/gitweb.py')
-rw-r--r--gitosis/gitweb.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gitosis/gitweb.py b/gitosis/gitweb.py
index 419cc39..73c255d 100644
--- a/gitosis/gitweb.py
+++ b/gitosis/gitweb.py
@@ -37,9 +37,9 @@ def _escape_filename(s):
s = s.replace('"', '\\"')
return s
-def generate_fp(config, fp):
+def generate_project_list_fp(config, fp):
"""
- Generate a config file and projects list for ``gitweb``.
+ Generate projects list for ``gitweb``.
:param config: configuration to read projects from
:type config: RawConfigParser
@@ -94,9 +94,9 @@ def generate_fp(config, fp):
line = ' '.join([urllib.quote_plus(s) for s in response])
print >>fp, line
-def generate(config, path):
+def generate_project_list(config, path):
"""
- Generate a config file and projects list for ``gitweb``.
+ Generate projects list for ``gitweb``.
:param config: configuration to read projects from
:type config: RawConfigParser