aboutsummaryrefslogtreecommitdiff
path: root/tools/patman/commit.py
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-04-08 12:03:22 -0400
committerTom Rini <trini@ti.com>2013-04-08 12:03:22 -0400
commitf140b5863b258120f5412ea86733f70c87837ee9 (patch)
tree455e189543d1f46bf65a7c3e35186539a59f7be1 /tools/patman/commit.py
parent381c6e2c90ed083281649e74e461a303c1ffab47 (diff)
parentfc3fe1c287fc5ee4c528b4059405571fcd2d55bd (diff)
Merge branch 'patman' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'tools/patman/commit.py')
-rw-r--r--tools/patman/commit.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/patman/commit.py b/tools/patman/commit.py
index 7144e5414a..468b50cc67 100644
--- a/tools/patman/commit.py
+++ b/tools/patman/commit.py
@@ -22,7 +22,7 @@
import re
# Separates a tag: at the beginning of the subject from the rest of it
-re_subject_tag = re.compile('([^:]*):\s*(.*)')
+re_subject_tag = re.compile('([^:\s]*):\s*(.*)')
class Commit:
"""Holds information about a single commit/patch in the series.
@@ -61,9 +61,10 @@ class Commit:
Subject tags look like this:
- propounder: Change the widget to propound correctly
+ propounder: fort: Change the widget to propound correctly
- Multiple tags are supported. The list is updated in self.tag
+ Here the tags are propounder and fort. Multiple tags are supported.
+ The list is updated in self.tag.
Returns:
None if ok, else the name of a tag with no email alias