Thanks for the reply. I should have mentioned this in the previous
reasons you mentioned. I only put it in because not having it there
. That gave me the traceback
On May 12, 2:49 pm, Bob Waycott <
bobwayc...@gmail.com> wrote:
> I'm still not understanding why you even have _get_subtype()
> A couple things to point out ... you are receiving the error because Satchmo
> is trying to lookup Ring._get_subtype as an attribute ... but you have
> defined it as a method, which means it should be called as
> Ring._get_subtype(). If you don't know why you have it in there, then take
> it out. You should not need it -- particularly when you have no idea why its
> even in there. Never add a line of code to a project that you don't
> understand and know why it is there. ;)
>
> So, my suggestion, unless you can explain your reason for having the method
> there, is to get it out of your Ring class. You're likely getting a max
> recursion error because you are returning the Ring class in _get_subtype()
> ... not something you want to do, and further shows that you don't really
> have a purpose for having it in there.
>
> So ... cut it out and then let us know what kind of error you receive with a
> Traceback.
>
> Thanks,
>
> Bob
>