]> git.ozlabs.org Git - patchwork/commitdiff
templates: Fix pwclient no-match messages
authorDirk Wallenstein <halsmit@t-online.de>
Wed, 12 Jan 2011 23:05:09 +0000 (23:05 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 11 Feb 2011 00:51:49 +0000 (08:51 +0800)
Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/bin/pwclient

index dba68fb036b1b28c9351548f6cf142b770238ccb..9d8cad994d49b217884bb175c64b2773eaa6c391 100755 (executable)
@@ -173,7 +173,7 @@ def action_list(rpc, filter, submitter_str, delegate_str):
     if submitter_str != "":
         ids = person_ids_by_name(rpc, submitter_str)
         if len(ids) == 0:
-            sys.stderr.write("Note: Nobody found matching *%s*\n", \
+            sys.stderr.write("Note: Nobody found matching *%s*\n" % \
                              submitter_str)
         else:
             for id in ids:
@@ -190,7 +190,7 @@ def action_list(rpc, filter, submitter_str, delegate_str):
     if delegate_str != "":
         ids = person_ids_by_name(rpc, delegate_str)
         if len(ids) == 0:
-            sys.stderr.write("Note: Nobody found matching *%s*\n", \
+            sys.stderr.write("Note: Nobody found matching *%s*\n" % \
                              delegate_str)
         else:
             for id in ids: