Modify ↓
Opened 13 years ago
Closed 13 years ago
#748 closed defect (wontfix)
`.readlines()` missing in pylint?
Reported by: | debacle@… | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Recipe commands | Version: | 0.6 |
Keywords: | Cc: | ||
Operating System: | Linux |
Description
I believe, in trunk/bitten/build/pythontools.py is missing a .readlines():
-
trunk/bitten/build/pythontools.py
old new 156 156 try: 157 157 fd = open(ctxt.resolve(file_), 'r') 158 158 try: 159 for line in fd :159 for line in fd.readlines(): 160 160 match = msg_re.search(line) 161 161 if match: 162 162 msg_type = match.group('type')
Attachments (0)
Change History (2)
comment:1 follow-up: ↓ 2 Changed 13 years ago by debacle@…
comment:2 in reply to: ↑ 1 Changed 13 years ago by osimons
- Milestone 0.6.2 deleted
- Resolution set to wontfix
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Sorry, my test was wrong. Iterating over the file is as good as using .readlines. Please close.