From 3daba500ec79d3cce99da63f245e4352298dc1cf Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 29 Mar 2015 17:56:58 +0200 Subject: Support "#gl2#" marker in repo description lines --- layman/dbtools/gitoliteparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = (.+)') -- cgit v1.2.3-65-gdbad