Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1882 by kmmbvnr: type object 'BasicAPIEncoder' has no attribute 'split'
http://code.google.com/p/reviewboard/issues/detail?id=1882

When there is no WEB_API_ENCODERS in settings.py specified, get_registered_encoders function call fails:

djblets/webapi/core.py in get_registered_encoders
            encoder_path = encoder.split('.')

        try:
            encoders = settings.WEB_API_ENCODERS
        except AttributeError:
            encoders = (BasicAPIEncoder,)

        for encoder in encoders:
            encoder_path = encoder.split('.')


--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to