#2335: In some cases MySQLdb returns array.array which causes an error in
a2b_base64()
--------------------------------------------+-------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  adrian         
     Status:  reopened                      |            Component:  Admin 
interface
    Version:  SVN                           |           Resolution:             
    
   Keywords:  a2b_base64()                  |                Stage:  Accepted   
    
  Has_patch:  0                             |           Needs_docs:  0          
    
Needs_tests:  0                             |   Needs_better_patch:  0          
    
--------------------------------------------+-------------------------------
Changes (by mtredinnick):

  * has_patch:  1 => 0
  * needs_tests:  1 => 0

Comment:

 The patch fragment in the previous comment can't be correct: it assumes
 that {{{self.session_data}}} is always going to be something that has a
 {{{tostring()}}} method. However, the reason that this bug is only
 happening for some people is because this value is _usually_ a string, not
 an array. So we cannot do any kind of universal conversion here.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2335#comment:10>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to