From: Florent Bruneau Date: Sun, 12 Dec 2010 20:50:42 +0000 (+0100) Subject: Oops, in python, it's *sys.*stderr X-Git-Tag: xorg/1.0.2~32^2~20 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=168ca63bd7b9e156997dc34187cb45d3be5cf5f1;p=platal.git Oops, in python, it's *sys.*stderr Signed-off-by: Florent Bruneau --- 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"):