List Info

Thread: Re: ServiceProxy.__getattr__ bug




Re: ServiceProxy.__getattr__ bug
country flaguser name
United States
2007-06-06 06:12:37

Hey,

I did have a quick look at the other mails, just have not put it in
the code yet.

Thanks

--- In json-rpc%40yahoogroups.com">json-rpcyahoogroups.com, "Jorge Vargas&quot; <jorge.vargas...> wrote:
&gt;
> hi Jan. about trac it's probably the stupid proxy here at my office for
> someone reason noone knows how to configure it "right"..... anyway
where you
> able to see my other email title "server-to-client message? and a small
&gt; patch. " patch there is not a bug but makes code less messy
>
> On 6/3/07, Jan-Klaas Kollhof <keyjaque...> wrote:
&gt; >
>; > Hey,
>; >
>; > thanks for the fix, it is checked in now.
>; >
>; > just checked trac, it did let me log in as guest/guest and it let me
> > create a ticket (#14). Not sure why it did not work for you.
>; >
>; > Jan
> >
>; > --- In json-rpc%40yahoogroups.com">json-rpcyahoogroups.com <json-rpc%40yahoogroups.com&gt;, "Jorge
> > Vargas&quot; <jorge.vargas>
&gt; >
>; > wrote:
&gt; > >
>; > > Hi the bug tracker didn't let me post as guest/guest.
> > >
>; > > there is a python error with the %-substitution. I believe what
>; > you
> > > wanted is to be able to call module level functions. something
> > like
>; > > this.
&gt; > >
>; > > {{{
> > > --- proxy.py (revision 16)
> > > +++ proxy.py (working copy)
&gt; > > -34,5 +36,5
> > >
>; > > def __getattr__(self, name):
&gt; > > if self.__serviceName != None:
&gt; > > - name = "%s.%s" % self.__serviceName
> > > + name = "%s.%s" % (self.__serviceName,name)
>; > > return ServiceProxy(self.__serviceURL, name)
&gt; > > }}}
> > >
>; > > PS: I have made other changes to the file so the patch may not
> > apply cleanly.
> > > PS2: it seems your trac instance needs some luv if you are
> > interested
> > > I can help getting it into shape (webadmin,account manager,
> > > milestones,versions,etc.
> > >
>; >
>; >
> >
>;

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )