Ticket #5808 enhancement closed wontfix
replace usage of file with FilePath in twisted.cred.checkers
| Reported by: | thijs | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | Python-3.x |
| Component: | core | Keywords: | |
| Cc: | thijs, bitsink@… | Branch: | branches/checkers-filepath-5808 |
| Author: | thijs | Launchpad Bug: |
Description (last modified by thijs) (diff)
The usage of file should be replaced with FilePath in twisted.cred.checkers and it's tests for Python 3 compatibility.
twisted/cred/checkers.py:196: f = file(self.filename) twisted/test/test_newcred.py:184: f = file(dbfile, 'w') twisted/test/test_newcred.py:196: f = file(dbfile, 'w') twisted/test/test_newcred.py:207: f = file(dbfile, 'w') twisted/test/test_newcred.py:220: f = file(dbfile, 'w') twisted/test/test_newcred.py:246: f = file(dbfile, 'w') twisted/test/test_newcred.py:408: fObj = file(fn, 'w') twisted/test/test_newcred.py:415: fObj = file(fn, 'w') twisted/test/test_newcred.py:422: fObj = file(fn, 'w')
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

