Ticket #8457: sessions-file-typo.diff

File sessions-file-typo.diff, 543 bytes (added by carljm, 7 years ago)

fix typo in contrib/sessions/file.py

  • django/contrib/sessions/backends/file.py

     
    8181            finally:
    8282                os.close(fd)
    8383        except OSError, e:
    84             if must_create and e.errno == errno.EEXIST:
     84            if must_create and e.errno == os.errno.EEXIST:
    8585                raise CreateError
    8686            raise
    8787        except (IOError, EOFError):
Back to Top