From 3a77181b93cc846112d26556f83d811f4fc3060f Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sun, 12 Dec 2010 20:26:04 +0100 Subject: [PATCH] Write on stderr... will make logs less useless. Signed-off-by: Florent Bruneau --- bin/lists.rpc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/lists.rpc.py b/bin/lists.rpc.py index e9529ae..d48858c 100755 --- a/bin/lists.rpc.py +++ b/bin/lists.rpc.py @@ -148,7 +148,7 @@ class BasicAuthXMLRPCRequestHandler(SimpleXMLRPCRequestHandler): userdesc = UserDesc(forlife, name, None, 0) return (userdesc, perms, vhost) else: - print "no user found for uid: %s, passwd: %s" % (uid, md5) + print >> stderr, "no user found for uid: %s, passwd: %s" % (uid, md5) return None ################################################################################ @@ -242,7 +242,7 @@ def list_call_dispatcher(method, userdesc, perms, vhost, *arg): @root: the handler requires site admin rights """ try: - print "calling method: %s" % method + print >> stderr, "calling method: %s" % method if has_annotation(method, "root") and perms != "admin": return 0 if has_annotation(method, "mlist"): -- 2.1.4