X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Flists.rpc.py;h=00b498ce120a268f7dc1dcf5e23eba35c949b892;hb=3c2a69dc96bae79936c677be7fb7554a43c555bc;hp=e9529ae630a5c34093373a4ec3a2bbf725c60d1d;hpb=7f7b00425f9cb2dc2a611cd1ca985813893d5bfe;p=platal.git diff --git a/bin/lists.rpc.py b/bin/lists.rpc.py index e9529ae..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 "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 "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"):