Ticket #5810 enhancement closed wontfix
replace usage of file/open with FilePath in twisted.names
| Reported by: | thijs | Owned by: | thijs |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | names | Keywords: | easy |
| Cc: | thijs | Branch: | branches/names-filepath-5810-2 |
| Author: | thijs | Launchpad Bug: |
Description (last modified by thijs) (diff)
The usage of file() and open() should be replaced with FilePath in twisted.names and it's tests (also for Python 3 compatibility).
twisted/names/test/test_names.py:635: fObj = file(resolvConf, 'w') twisted/names/client.py:151: resolvConf = file(self.resolv) twisted/names/authority.py:30: f = file(filename, 'w') twisted/names/authority.py:36: serialFile = file(filename, 'r') twisted/names/authority.py:40: serialFile = file(filename, 'w')
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

