Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow dot in author/committer name

  • Loading branch information...
commit 23ef8836134c5f6f120300d6e0b966bdf8ff6ae0 1 parent 63ea484
Magnus Hagander authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  policyenforce.py
2  policyenforce.py
View
@@ -105,7 +105,7 @@ def _parse_author(self, authorstring):
Returns the "name <email>" part.
"""
- m = re.search('^([a-zA-Z0-9 ]+ <[^>]+>) \d+ [+-]\d{4}$', authorstring)
+ m = re.search('^([a-zA-Z0-9. ]+ <[^>]+>) \d+ [+-]\d{4}$', authorstring)
if not m:
raise Exception("User '%s' on commit %s does not follow format rules." % (authorstring, self.commitid))
return m.group(1)
Please sign in to comment.
Something went wrong with that request. Please try again.