#8457: typo in sessions file backend can cause NameError
---------------------------+------------------------------------------------
 Reporter:  carljm         |       Owner:  nobody    
   Status:  new            |   Milestone:  1.0       
Component:  Uncategorized  |     Version:  SVN       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  1              |  
---------------------------+------------------------------------------------
 In django/contrib/sessions/backends/file.py, SessionStore.save() refers to
 "errno.EEXIST" when it means "os.errno.EEXIST".  If using the file session
 backend and set SESSION_FILE_PATH to an unwritable directory (or if there
 is any other error condition on creating a new session file), this causes
 a NameError to be raised instead of the correct OSError.  It also prevents
 the correct handling of the (rare) case of a duplicate session ID being
 generated.  Attached patch fixes the typo.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8457>
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