Patchwork [4/4] Fix pwclient no-match messages

login
register
mail settings
Submitter Dirk Wallenstein
Date Jan. 13, 2011, 9:05 a.m.
Message ID <1294909509-20746-5-git-send-email-halsmit@t-online.de>
Download mbox | patch
Permalink /patch/78695/
State Accepted
Headers show

Comments

Dirk Wallenstein - Jan. 13, 2011, 9:05 a.m.
Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
---
 apps/patchwork/bin/pwclient |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/apps/patchwork/bin/pwclient b/apps/patchwork/bin/pwclient
index dba68fb..9d8cad9 100755
--- a/apps/patchwork/bin/pwclient
+++ b/apps/patchwork/bin/pwclient
@@ -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: