From: Florent Bruneau Date: Sun, 12 Dec 2010 19:26:04 +0000 (+0100) Subject: Write on stderr... will make logs less useless. X-Git-Tag: xorg/1.0.2~32^2~22 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=3a77181b93cc846112d26556f83d811f4fc3060f;p=platal.git Write on stderr... will make logs less useless. Signed-off-by: Florent Bruneau --- 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"):