diff options
-rw-r--r-- | pym/repoman/checks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index 4c2bcd113..4650e7d50 100644 --- a/pym/repoman/checks.py +++ b/pym/repoman/checks.py @@ -516,7 +516,7 @@ def run_checks(contents, pkg): if here_doc_delim is None: here_doc = _here_doc_re.match(line) if here_doc is not None: - here_doc_delim = re.compile('^%s$' % here_doc.group(1)) + here_doc_delim = re.compile('^\s*%s$' % here_doc.group(1)) if here_doc_delim is None: # We're not in a here-document. |