summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2011-10-26 05:07:17 +0200
committerSebastian Pipping <sebastian@pipping.org>2011-10-26 05:07:17 +0200
commit4c72ab6b5781e1e95fafb18c9a60c5f178efef8d (patch)
treea1f7ba5326e29c6aa6df826b0dbee752b57cc688
parentSupport false is_overlay (diff)
downloadrepositories-xml-format-4c72ab6b5781e1e95fafb18c9a60c5f178efef8d.tar.gz
repositories-xml-format-4c72ab6b5781e1e95fafb18c9a60c5f178efef8d.tar.bz2
repositories-xml-format-4c72ab6b5781e1e95fafb18c9a60c5f178efef8d.zip
Fix a bug in the gitolite config parser
-rw-r--r--layman/dbtools/gitoliteparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/layman/dbtools/gitoliteparser.py b/layman/dbtools/gitoliteparser.py
index 25708f6..4bb6bb7 100644
--- a/layman/dbtools/gitoliteparser.py
+++ b/layman/dbtools/gitoliteparser.py
@@ -11,7 +11,7 @@ import re
_repo_line = re.compile('^repo ([^ ]+)')
_terms_status_line = re.compile('^# gentoo-terms-status = (.+)$')
_overlay_marker_line = re.compile('^# gentoo-is-overlay = (True|False)')
-_desc_line = re.compile('^([^ ]+) "(.+ <[^@]+@[^>]+>)" = "(.+)"')
+_desc_line = re.compile('^([^# ][^ ]+) "(.+ <[^@]+@[^>]+>)" = "(.+)"')
_dont_add_line = re.compile('^# gentoo-dont-add-to-layman = (.+)')