summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2015-03-29 17:56:58 +0200
committerSebastian Pipping <sebastian@pipping.org>2015-03-29 17:56:58 +0200
commit3daba500ec79d3cce99da63f245e4352298dc1cf (patch)
tree4f28200957a73e828314748aba1c6d8de35a6d6e /layman/dbtools/gitoliteparser.py
parentAdd .gitignore files (diff)
downloadrepositories-xml-format-master.tar.gz
repositories-xml-format-master.tar.bz2
repositories-xml-format-master.zip
Support "#gl2#" marker in repo description linesHEADmaster
Diffstat (limited to 'layman/dbtools/gitoliteparser.py')
-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 4bb6bb7..d0d268e 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('^(?:#gl2# )?([^# ][^ ]+) "(.+ <[^@]+@[^>]+>)" = "(.+)"')
_dont_add_line = re.compile('^# gentoo-dont-add-to-layman = (.+)')