From 168ca63bd7b9e156997dc34187cb45d3be5cf5f1 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sun, 12 Dec 2010 21:50:42 +0100 Subject: [PATCH] Oops, in python, it's *sys.*stderr 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 d48858c..00b498c 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 >> stderr, "no user found for uid: %s, passwd: %s" % (uid, md5) + print >> sys.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 >> stderr, "calling method: %s" % method + print >> sys.stderr, "calling method: %s" % method if has_annotation(method, "root") and perms != "admin": return 0 if has_annotation(method, "mlist"): -- 2.1.4