summaryrefslogtreecommitdiff
path: root/tools/patman/patchstream.py
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2020-10-29 21:46:28 -0600
committerSimon Glass <[email protected]>2020-11-05 09:11:31 -0700
commit4af99874562f2ae26e84a9904009c7ce121d540d (patch)
treecf368df7e353963f8752651e590e6f655e38b2af /tools/patman/patchstream.py
parent7457051e41be1058494bcb96f8ebd05176a3e6cc (diff)
patman: Add some tests for warnings
Add tests that check that warnings are generated when expected. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/patman/patchstream.py')
-rw-r--r--tools/patman/patchstream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/patchstream.py b/tools/patman/patchstream.py
index d6f6ae92513..1cb4d6ed0dd 100644
--- a/tools/patman/patchstream.py
+++ b/tools/patman/patchstream.py
@@ -419,7 +419,7 @@ class PatchStream:
# Remove Tested-by self, since few will take much notice
if (rtag_type == 'Tested-by' and
who.find(os.getenv('USER') + '@') != -1):
- self._add_warn("Ignoring %s" % line)
+ self._add_warn("Ignoring '%s'" % line)
elif rtag_type == 'Patch-cc':
self.commit.AddCc(who.split(','))
else: