C0301 |
mythalsig |
|
41 |
Line too long (156/80) |
C0301 |
mythalsig |
|
42 |
Line too long (119/80) |
C0301 |
mythalsig |
|
45 |
Line too long (97/80) |
C0301 |
mythalsig |
|
47 |
Line too long (121/80) |
C0301 |
mythalsig |
|
51 |
Line too long (84/80) |
C0301 |
mythalsig |
|
69 |
Line too long (84/80) |
C0301 |
mythalsig |
|
78 |
Line too long (84/80) |
C0301 |
mythalsig |
|
94 |
Line too long (88/80) |
C0301 |
mythalsig |
|
99 |
Line too long (94/80) |
C0301 |
mythalsig |
|
100 |
Line too long (90/80) |
C0301 |
mythalsig |
|
128 |
Line too long (93/80) |
C0301 |
mythalsig |
|
150 |
Line too long (81/80) |
C0301 |
mythalsig |
|
151 |
Line too long (82/80) |
C0301 |
mythalsig |
|
155 |
Line too long (83/80) |
C0301 |
mythalsig |
|
185 |
Line too long (90/80) |
C0301 |
mythalsig |
|
228 |
Line too long (92/80) |
C0301 |
mythalsig |
|
237 |
Line too long (85/80) |
C0301 |
mythalsig |
|
240 |
Line too long (83/80) |
C0301 |
mythalsig |
|
274 |
Line too long (84/80) |
C0301 |
mythalsig |
|
287 |
Line too long (93/80) |
C0301 |
mythalsig |
|
303 |
Line too long (82/80) |
C0301 |
mythalsig |
|
318 |
Line too long (86/80) |
C0301 |
mythalsig |
|
323 |
Line too long (102/80) |
C0301 |
mythalsig |
|
329 |
Line too long (89/80) |
C0301 |
mythalsig |
|
332 |
Line too long (129/80) |
C0301 |
mythalsig |
|
336 |
Line too long (115/80) |
C0301 |
mythalsig |
|
339 |
Line too long (97/80) |
C0301 |
mythalsig |
|
343 |
Line too long (88/80) |
C0301 |
mythalsig |
|
345 |
Line too long (114/80) |
C0301 |
mythalsig |
|
358 |
Line too long (139/80) |
C0301 |
mythalsig |
|
360 |
Line too long (120/80) |
C0301 |
mythalsig |
|
367 |
Line too long (97/80) |
C0301 |
mythalsig |
|
373 |
Line too long (92/80) |
C0301 |
mythalsig |
|
380 |
Line too long (111/80) |
C0301 |
mythalsig |
|
381 |
Line too long (102/80) |
C0301 |
mythalsig |
|
400 |
Line too long (87/80) |
C0301 |
mythalsig |
|
402 |
Line too long (96/80) |
C0301 |
mythalsig |
|
404 |
Line too long (91/80) |
C0301 |
mythalsig |
|
405 |
Line too long (102/80) |
C0301 |
mythalsig |
|
411 |
Line too long (101/80) |
C0301 |
mythalsig |
|
412 |
Line too long (104/80) |
C0301 |
mythalsig |
|
413 |
Line too long (104/80) |
C0301 |
mythalsig |
|
414 |
Line too long (104/80) |
C0301 |
mythalsig |
|
442 |
Line too long (82/80) |
C0301 |
mythalsig |
|
445 |
Line too long (143/80) |
C0301 |
mythalsig |
|
459 |
Line too long (102/80) |
C0301 |
mythalsig |
|
461 |
Line too long (85/80) |
C0301 |
mythalsig |
|
464 |
Line too long (93/80) |
C0301 |
mythalsig |
|
481 |
Line too long (97/80) |
C0301 |
mythalsig |
|
482 |
Line too long (147/80) |
C0301 |
mythalsig |
|
489 |
Line too long (120/80) |
C0301 |
mythalsig |
|
500 |
Line too long (115/80) |
C0301 |
mythalsig |
|
504 |
Line too long (101/80) |
C0301 |
mythalsig |
|
505 |
Line too long (86/80) |
C0301 |
mythalsig |
|
506 |
Line too long (84/80) |
C0301 |
mythalsig |
|
516 |
Line too long (82/80) |
C0301 |
mythalsig |
|
532 |
Line too long (138/80) |
C0301 |
mythalsig |
|
538 |
Line too long (88/80) |
C0301 |
mythalsig |
|
545 |
Line too long (110/80) |
C0301 |
mythalsig |
|
546 |
Line too long (92/80) |
C0301 |
mythalsig |
|
580 |
Line too long (82/80) |
C0301 |
mythalsig |
|
582 |
Line too long (90/80) |
W0103 |
mythalsig |
|
0 |
Missing required attribute "__revision__" |
C0322 |
mythalsig |
|
46 |
Operator not preceded by a space
default_region_codes='uk'
^ |
C0322 |
mythalsig |
|
48 |
Operator not preceded by a space
icon_dir_mythtv='/mnt/store/mythtv/.mythtv/logos'
^ |
C0322 |
mythalsig |
|
50 |
Operator not preceded by a space
icon_dir_local="icons"
^ |
C0322 |
mythalsig |
|
52 |
Operator not preceded by a space
db_host='localhost'
^ |
C0322 |
mythalsig |
|
53 |
Operator not preceded by a space
db_port=3306
^ |
C0322 |
mythalsig |
|
54 |
Operator not preceded by a space
db_name='mythconverg'
^ |
C0322 |
mythalsig |
|
55 |
Operator not preceded by a space
db_user='mythtv'
^ |
C0322 |
mythalsig |
|
56 |
Operator not preceded by a space
db_passwd='mythtv'
^ |
C0322 |
mythalsig |
|
62 |
Operator not preceded by a space
lyngsat_sub_page='http://www.lyngsat-logo.com/tvcountry/%s_%d.html'
^ |
C0322 |
mythalsig |
|
64 |
Operator not preceded by a space
web_cache_period=1
^ |
C0322 |
mythalsig |
|
66 |
Operator not preceded by a space
icon_cache_period=1
^ |
C0322 |
mythalsig |
|
68 |
Operator not preceded by a space
pklz_folder='regions'
^ |
C0103 |
mythalsig |
lsHTMLParser |
80 |
Invalid name "lsHTMLParser" (should match [A-Z_][a-zA-Z0-9]+$) |
W0131 |
mythalsig |
lsHTMLParser |
80 |
Missing docstring |
C0322 |
mythalsig |
lsHTMLParser.__init__ |
83 |
Operator not preceded by a space
self.results=results
^ |
C0322 |
mythalsig |
lsHTMLParser.__init__ |
84 |
Operator not preceded by a space
self.last_page=0
^ |
C0322 |
mythalsig |
lsHTMLParser.__init__ |
85 |
Operator not preceded by a space
self.high_page=1
^ |
C0322 |
mythalsig |
lsHTMLParser.__init__ |
86 |
Operator not preceded by a space
self.region_code=region_code
^ |
C0322 |
mythalsig |
lsHTMLParser.__init__ |
87 |
Operator not preceded by a space
self.this_page=this_page
^ |
W0131 |
mythalsig |
lsHTMLParser.handle_starttag |
89 |
Missing docstring |
C0322 |
mythalsig |
lsHTMLParser.handle_starttag |
92 |
Operator not preceded by a space
if pair[0]=='src' and pair[1].find('/logo/')!=-1:
^^ |
C0322 |
mythalsig |
lsHTMLParser.handle_starttag |
93 |
Operator not preceded by a space
icon_abs_url=urlparse.urljoin(lyngsat_sub_page, pair[1])
^ |
C0322 |
mythalsig |
lsHTMLParser.handle_starttag |
94 |
Operator not preceded by a space
icon_name=os.path.splitext(os.path.basename(icon_abs_url))[0].upper()
^ |
C0322 |
mythalsig |
lsHTMLParser.handle_starttag |
95 |
Operator not preceded by a space
self.results[icon_name]=icon_abs_url
^ |
C0322 |
mythalsig |
lsHTMLParser.handle_starttag |
99 |
Operator not preceded by a space
if pair[0]=='href' and pair[1].find('../tvcountry/%s_'%(self.region_code))!=-1:
^^ |
C0322 |
mythalsig |
lsHTMLParser.handle_starttag |
101 |
Operator not preceded by a space
self.high_page=max(self.high_page, link_page)
^ |
C0322 |
mythalsig |
lsHTMLParser.handle_starttag |
102 |
Operator not preceded by a space
if self.high_page==self.this_page:
^^ |
C0322 |
mythalsig |
lsHTMLParser.handle_starttag |
103 |
Operator not preceded by a space
self.last_page=1
^ |
R0904 |
mythalsig |
lsHTMLParser |
80 |
Too many public methods (28/20) |
W0131 |
mythalsig |
RegionList |
106 |
Missing docstring |
C0322 |
mythalsig |
RegionList.__init__ |
109 |
Operator not preceded by a space
self.region_codes=region_codes
^ |
C0103 |
mythalsig |
RegionList.loadRegions |
115 |
Invalid name "loadRegions" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
RegionList.loadRegions |
115 |
Missing docstring |
W0702 |
mythalsig |
RegionList.loadRegions |
128 |
No exception's type specified |
C0103 |
mythalsig |
RegionList.loadRegion |
133 |
Invalid name "loadRegion" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
RegionList.loadRegion |
133 |
Missing docstring |
C0101 |
mythalsig |
RegionList.loadRegion |
136 |
Too short name "f" |
C0322 |
mythalsig |
RegionList.loadRegion |
135 |
Operator not preceded by a space
fname=os.path.join(pklz_folder, '%s.pklz' % (region_code))
^ |
C0103 |
mythalsig |
RegionList.saveRegions |
142 |
Invalid name "saveRegions" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
RegionList.saveRegions |
142 |
Missing docstring |
C0322 |
mythalsig |
RegionList.saveRegions |
153 |
Operator not preceded by a space
resp=raw_input('Do you wish to overwrite old region files [y/Y]? ')
^ |
C0103 |
mythalsig |
RegionList.saveRegion |
160 |
Invalid name "saveRegion" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
RegionList.saveRegion |
160 |
Missing docstring |
C0101 |
mythalsig |
RegionList.saveRegion |
168 |
Too short name "f" |
C0322 |
mythalsig |
RegionList.saveRegion |
162 |
Operator not preceded by a space
fname=os.path.join(pklz_folder, '%s.pklz' % (region.region_code))
^ |
C0103 |
mythalsig |
RegionList.getPresets |
172 |
Invalid name "getPresets" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
RegionList.getPresets |
172 |
Missing docstring |
C0101 |
mythalsig |
RegionList.getPresets |
176 |
Too short name "y" |
C0101 |
mythalsig |
RegionList.getPresets |
176 |
Too short name "x" |
C0101 |
mythalsig |
RegionList.getPresets |
176 |
Too short name "z" |
C0322 |
mythalsig |
RegionList.getPresets |
173 |
Operator not preceded by a space
results=[]
^ |
C0322 |
mythalsig |
RegionList.getPresets |
175 |
Operator not preceded by a space
results=results+region.getPresets(search_terms)
^ |
R0914 |
mythalsig |
RegionList.searchRegions |
178 |
Too many local variables (18/15) |
C0103 |
mythalsig |
RegionList.searchRegions |
178 |
Invalid name "searchRegions" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
RegionList.searchRegions |
178 |
Missing docstring |
C0101 |
mythalsig |
RegionList.searchRegions |
178 |
Too short name "n" |
C0101 |
mythalsig |
RegionList.searchRegions |
206 |
Too short name "z" |
C0101 |
mythalsig |
RegionList.searchRegions |
190 |
Too short name "it" |
C0101 |
mythalsig |
RegionList.searchRegions |
206 |
Too short name "y" |
C0101 |
mythalsig |
RegionList.searchRegions |
206 |
Too short name "x" |
C0322 |
mythalsig |
RegionList.searchRegions |
179 |
Operator not preceded by a space
results=[]
^ |
C0322 |
mythalsig |
RegionList.searchRegions |
180 |
Operator not preceded by a space
single_exact_match=0
^ |
C0322 |
mythalsig |
RegionList.searchRegions |
182 |
Operator not preceded by a space
results=results+region.search(search_terms)
^ |
C0322 |
mythalsig |
RegionList.searchRegions |
183 |
Operator not preceded by a space
uniq_results=[]
^ |
C0322 |
mythalsig |
RegionList.searchRegions |
205 |
Operator not preceded by a space
single_exact_match=1
^ |
W0612 |
mythalsig |
RegionList.searchRegions |
185 |
Unused variable 'region_code' |
W0612 |
mythalsig |
RegionList.searchRegions |
185 |
Unused variable 'score' |
W0612 |
mythalsig |
RegionList.searchRegions |
185 |
Unused variable 'basname' |
C0103 |
mythalsig |
RegionList.updateRegion |
208 |
Invalid name "updateRegion" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
RegionList.updateRegion |
208 |
Missing docstring |
C0322 |
mythalsig |
RegionList.updateRegion |
211 |
Operator not preceded by a space
region.presets[searchable_term]=url
^ |
C0103 |
mythalsig |
RegionList.dumpData |
213 |
Invalid name "dumpData" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
RegionList.dumpData |
213 |
Missing docstring |
W0131 |
mythalsig |
Region |
217 |
Missing docstring |
C0322 |
mythalsig |
Region.__init__ |
221 |
Operator not preceded by a space
self.presets={}
^ |
C0322 |
mythalsig |
Region.__init__ |
222 |
Operator not preceded by a space
self.webdata={}
^ |
C0322 |
mythalsig |
Region.__init__ |
223 |
Operator not preceded by a space
self.last_webdata_update=0
^ |
C0103 |
mythalsig |
Region.grabData |
225 |
Invalid name "grabData" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
Region.grabData |
225 |
Missing docstring |
C0101 |
mythalsig |
Region.grabData |
237 |
Too short name "f" |
C0322 |
mythalsig |
Region.grabData |
227 |
Operator not preceded by a space
high_page='?'
^ |
C0322 |
mythalsig |
Region.grabData |
228 |
Operator not preceded by a space
cache_expired=time.time() > (self.last_webdata_update + (web_cache_period *24*60*60))
^ |
W0702 |
mythalsig |
Region.grabData |
244 |
No exception's type specified |
C0324 |
mythalsig |
Region.grabData |
237 |
Comma not followed by a space
f = opener.open(lyngsat_sub_page % (self.region_code,page_no))
^^ |
C0322 |
mythalsig |
Region.grabData |
238 |
Operator not preceded by a space
page_contents=f.read()
^ |
C0322 |
mythalsig |
Region.grabData |
240 |
Operator not preceded by a space
parser=lsHTMLParser(self.webdata, self.region_code, page_no)
^ |
C0322 |
mythalsig |
Region.grabData |
250 |
Operator not preceded by a space
high_page=parser.high_page
^ |
C0322 |
mythalsig |
Region.grabData |
251 |
Operator not preceded by a space
self.last_webdata_update=time.time()
^ |
C0103 |
mythalsig |
Region.getPresets |
253 |
Invalid name "getPresets" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
Region.getPresets |
253 |
Missing docstring |
C0322 |
mythalsig |
Region.getPresets |
254 |
Operator not preceded by a space
results=[]
^ |
W0141 |
mythalsig |
Region.getPresets |
258 |
Used builtin function 'map' |
W0131 |
mythalsig |
Region.search |
262 |
Missing docstring |
C0101 |
mythalsig |
Region.search |
265 |
Too short name "s" |
C0101 |
mythalsig |
Region.search |
269 |
Too short name "x" |
C0322 |
mythalsig |
Region.search |
263 |
Operator not preceded by a space
results=[]
^ |
C0322 |
mythalsig |
Region.search |
264 |
Operator not preceded by a space
cutoff=0.3
^ |
C0322 |
mythalsig |
Region.search |
265 |
Operator not preceded by a space
s=difflib.SequenceMatcher()
^ |
W0141 |
mythalsig |
Region.search |
268 |
Used builtin function 'filter' |
W0141 |
mythalsig |
Region.search |
270 |
Used builtin function 'filter' |
C0103 |
mythalsig |
Region.dumpData |
279 |
Invalid name "dumpData" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
Region.dumpData |
279 |
Missing docstring |
W0131 |
mythalsig |
ChannelList |
284 |
Missing docstring |
C0101 |
mythalsig |
ChannelList.__init__ |
288 |
Too short name "c" |
C0101 |
mythalsig |
ChannelList.__init__ |
287 |
Too short name "db" |
C0322 |
mythalsig |
ChannelList.__init__ |
286 |
Operator not preceded by a space
self.force_update=force_update
^ |
C0322 |
mythalsig |
ChannelList.__init__ |
287 |
Operator not preceded by a space
db=MySQLdb.connect(host=db_host,port=db_port,db=db_name,user=db_user,passwd=db_passwd)
^ |
C0322 |
mythalsig |
ChannelList.__init__ |
288 |
Operator not preceded by a space
c=db.cursor()
^ |
C0322 |
mythalsig |
ChannelList.__init__ |
295 |
Operator not preceded by a space
inter_results=c.fetchall()
^ |
C0322 |
mythalsig |
ChannelList.__init__ |
297 |
Operator not preceded by a space
self.results=[]
^ |
C0322 |
mythalsig |
ChannelList.__init__ |
298 |
Operator not preceded by a space
idx=1
^ |
C0322 |
mythalsig |
ChannelList.__init__ |
301 |
Operator not preceded by a space
idx=idx+1
^ |
C0324 |
mythalsig |
ChannelList.__init__ |
303 |
Comma not followed by a space
self.results.append([entry[0], [entry[1],entry[2],entry[3]], entry[4]])
^^ |
C0322 |
mythalsig |
ChannelList.__init__ |
304 |
Operator not preceded by a space
idx=idx+1
^ |
C0103 |
mythalsig |
ChannelList.dumpData |
306 |
Invalid name "dumpData" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
ChannelList.dumpData |
306 |
Missing docstring |
C0103 |
mythalsig |
ChannelList.retrieveIcons |
309 |
Invalid name "retrieveIcons" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
ChannelList.retrieveIcons |
309 |
Missing docstring |
C0322 |
mythalsig |
ChannelList.retrieveIcons |
310 |
Operator not preceded by a space
channel_count=len(self.results)
^ |
C0322 |
mythalsig |
ChannelList.retrieveIcons |
311 |
Operator not preceded by a space
channel_current=0
^ |
C0322 |
mythalsig |
ChannelList.retrieveIcons |
314 |
Operator not preceded by a space
channel_current=channel_current+1
^ |
C0322 |
mythalsig |
ChannelList.retrieveIcons |
315 |
Operator not preceded by a space
local_folder=os.path.join(icon_dir_local, channel_set[3][0])
^ |
C0322 |
mythalsig |
ChannelList.retrieveIcons |
318 |
Operator not preceded by a space
local_file=os.path.join(local_folder, os.path.basename(channel_set[2]))
^ |
C0322 |
mythalsig |
ChannelList.retrieveIcons |
320 |
Operator not preceded by a space
local_file_timestamp=os.stat(local_file)[8]
^ |
C0322 |
mythalsig |
ChannelList.retrieveIcons |
322 |
Operator not preceded by a space
local_file_timestamp=0
^ |
C0322 |
mythalsig |
ChannelList.retrieveIcons |
323 |
Operator not preceded by a space
local_file_expired=time.time() > (local_file_timestamp + (icon_cache_period *24*60*60))
^ |
C0322 |
mythalsig |
ChannelList.retrieveIcons |
325 |
Operator not preceded by a space
remote_file=channel_set[3][2]
^ |
C0103 |
mythalsig |
ChannelList.updateDBcallsign |
335 |
Invalid name "updateDBcallsign" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
ChannelList.updateDBcallsign |
335 |
Missing docstring |
C0101 |
mythalsig |
ChannelList.updateDBcallsign |
340 |
Too short name "c" |
C0101 |
mythalsig |
ChannelList.updateDBcallsign |
339 |
Too short name "db" |
C0322 |
mythalsig |
ChannelList.updateDBcallsign |
337 |
Operator not preceded by a space
lyngsat_common='http://www.lyngsat-logo.com/logo/tv'
^ |
C0322 |
mythalsig |
ChannelList.updateDBcallsign |
339 |
Operator not preceded by a space
db=MySQLdb.connect(host=db_host,port=db_port,db=db_name,user=db_user,passwd=db_passwd)
^ |
C0322 |
mythalsig |
ChannelList.updateDBcallsign |
340 |
Operator not preceded by a space
c=db.cursor()
^ |
C0322 |
mythalsig |
ChannelList.updateDBcallsign |
342 |
Operator not preceded by a space
c=None
^ |
C0322 |
mythalsig |
ChannelList.updateDBcallsign |
343 |
Operator not preceded by a space
query='''DELETE FROM settings WHERE value='mythfilldatabase.urlmap.lyngsat';\n'''
^ |
C0322 |
mythalsig |
ChannelList.updateDBcallsign |
345 |
Operator not preceded by a space
query='''INSERT INTO settings VALUES ('mythfilldatabase.urlmap.lyngsat','%s',NULL);\n''' % (lyngsat_common)
^ |
C0322 |
mythalsig |
ChannelList.updateDBcallsign |
347 |
Operator not preceded by a space
query='''DELETE FROM callsignnetworkmap;\n'''
^ |
C0322 |
mythalsig |
ChannelList.updateDBcallsign |
349 |
Operator not preceded by a space
query='''DELETE FROM networkiconmap;\n'''
^ |
C0322 |
mythalsig |
ChannelList.updateDBcallsign |
354 |
Operator not preceded by a space
url='[lyngsat]'+channel_set[3][2][len(lyngsat_common):]
^ |
C0322 |
mythalsig |
ChannelList.updateDBcallsign |
356 |
Operator not preceded by a space
url=channel_set[3][2]
^ |
C0322 |
mythalsig |
ChannelList.updateDBcallsign |
357 |
Operator not preceded by a space
chan_callsign=channel_set[1][1]
^ |
C0322 |
mythalsig |
ChannelList.updateDBcallsign |
358 |
Operator not preceded by a space
query='''INSERT INTO callsignnetworkmap (callsign,network) VALUES ('%s','lyngsat_%s');\n''' % (chan_callsign, chan_callsign)
^ |
C0322 |
mythalsig |
ChannelList.updateDBcallsign |
360 |
Operator not preceded by a space
query='''INSERT INTO networkiconmap (network,url) VALUES ('lyngsat_%s','%s');\n''' % (chan_callsign, url)
^ |
C0103 |
mythalsig |
ChannelList.updateDBchannel |
365 |
Invalid name "updateDBchannel" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
ChannelList.updateDBchannel |
365 |
Missing docstring |
C0101 |
mythalsig |
ChannelList.updateDBchannel |
368 |
Too short name "c" |
C0101 |
mythalsig |
ChannelList.updateDBchannel |
367 |
Too short name "db" |
C0322 |
mythalsig |
ChannelList.updateDBchannel |
367 |
Operator not preceded by a space
db=MySQLdb.connect(host=db_host,port=db_port,db=db_name,user=db_user,passwd=db_passwd)
^ |
C0322 |
mythalsig |
ChannelList.updateDBchannel |
368 |
Operator not preceded by a space
c=db.cursor()
^ |
C0322 |
mythalsig |
ChannelList.updateDBchannel |
370 |
Operator not preceded by a space
c=None
^ |
C0322 |
mythalsig |
ChannelList.updateDBchannel |
373 |
Operator not preceded by a space
query='''UPDATE channel SET icon=NULL WHERE chanid="%s"''' % (channel_set[0])
^ |
C0322 |
mythalsig |
ChannelList.updateDBchannel |
381 |
Operator not preceded by a space
query='''UPDATE channel SET icon="%s" WHERE chanid="%s"''' % (new_path, channel_set[0])
^ |
C0103 |
mythalsig |
ChannelList.doDtf |
390 |
Invalid name "doDtf" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
ChannelList.doDtf |
390 |
Missing docstring |
C0101 |
mythalsig |
ChannelList.doDtf |
390 |
Too short name "c" |
C0103 |
mythalsig |
ChannelList.updateRegions |
396 |
Invalid name "updateRegions" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
ChannelList.updateRegions |
396 |
Missing docstring |
C0103 |
mythalsig |
ChannelList.printInfo |
407 |
Invalid name "printInfo" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
ChannelList.printInfo |
407 |
Missing docstring |
W0131 |
mythalsig |
Matcher |
416 |
Missing docstring |
C0322 |
mythalsig |
Matcher.__init__ |
419 |
Operator not preceded by a space
self.channel_list=channel_list
^ |
C0322 |
mythalsig |
Matcher.__init__ |
420 |
Operator not preceded by a space
self.region_list=region_list
^ |
C0322 |
mythalsig |
Matcher.__init__ |
421 |
Operator not preceded by a space
self.no_auto_select=no_auto_select
^ |
W0622 |
mythalsig |
Matcher.assignIcons |
425 |
Redefining built-in 'exit' |
C0103 |
mythalsig |
Matcher.assignIcons |
424 |
Invalid name "assignIcons" (should match [a-z_][a-z0-9_]*$) |
W0131 |
mythalsig |
Matcher.assignIcons |
424 |
Missing docstring |
R0914 |
mythalsig |
Matcher.assignIcons |
424 |
Too many local variables (27/15) |
C0322 |
mythalsig |
Matcher.assignIcons |
425 |
Operator not preceded by a space
exit=0
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
426 |
Operator not preceded by a space
autospeed=0
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
427 |
Operator not preceded by a space
channel_count=len(self.channel_list.results)
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
428 |
Operator not preceded by a space
channel_current=0
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
430 |
Operator not preceded by a space
chan_id=channel_set[0]
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
431 |
Operator not preceded by a space
chan_name=channel_set[1][0]
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
432 |
Operator not preceded by a space
chan_callsign=channel_set[1][1]
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
433 |
Operator not preceded by a space
chan_xmltv_id=channel_set[1][2]
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
434 |
Operator not preceded by a space
chan_icon=channel_set[2]
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
435 |
Operator not preceded by a space
channel_current=channel_current+1
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
436 |
Operator not preceded by a space
search_terms=map(lambda x: x.upper(), channel_set[1])
^ |
W0141 |
mythalsig |
Matcher.assignIcons |
436 |
Used builtin function 'map' |
C0322 |
mythalsig |
Matcher.assignIcons |
437 |
Operator not preceded by a space
while exit==0:
^^ |
C0322 |
mythalsig |
Matcher.assignIcons |
438 |
Operator not preceded by a space
resp=None
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
439 |
Operator not preceded by a space
headerstring=80*'-'
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
440 |
Operator not preceded by a space
headerstring_offset=2
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
441 |
Operator not preceded by a space
headerstring_left='Channel ID: %s' % (chan_id)
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
442 |
Operator not preceded by a space
headerstring_right='[%03d/%03d]' % (channel_current, channel_count)
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
443 |
Operator not preceded by a space
headerstring=(headerstring[0:headerstring_offset]+
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
455 |
Operator not preceded by a space
presets=self.region_list.getPresets(search_terms)
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
467 |
Operator not preceded by a space
num_prompt='1'
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
469 |
Operator not preceded by a space
num_prompt=num_prompt+'-%d' % len(option_list)
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
470 |
Operator not preceded by a space
num_prompt=num_prompt+'/'
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
472 |
Operator not preceded by a space
resp='1'
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
480 |
Operator not preceded by a space
entry=' %2d. %s, %-20s (%s)' % (i+1, option_list[i][0],
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
486 |
Operator not preceded by a space
num_resp_options=[]
^ |
C0324 |
mythalsig |
Matcher.assignIcons |
487 |
Comma not followed by a space
for entry in range(1,len(option_list)+1):
^^ |
C0322 |
mythalsig |
Matcher.assignIcons |
489 |
Operator not preceded by a space
resp_options=(len(presets) and ['c','f','u','p','a','.',''] or ['c','f','u','a','.',''])+num_resp_options
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
493 |
Operator not preceded by a space
if chan_icon=='':
^^ |
C0322 |
mythalsig |
Matcher.assignIcons |
495 |
Operator not preceded by a space
resp='p'
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
497 |
Operator not preceded by a space
autospeed=0
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
498 |
Operator not preceded by a space
while resp==None:
^^ |
C0322 |
mythalsig |
Matcher.assignIcons |
505 |
Operator not preceded by a space
resp=raw_input('Please enter choice [%s%sc/f/a/s/./<Return>]? ' % (
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
508 |
Operator not preceded by a space
resp=None
^ |
C0323 |
mythalsig |
Matcher.assignIcons |
514 |
Operator not followed by a space
if resp =='u':
^^ |
C0322 |
mythalsig |
Matcher.assignIcons |
522 |
Operator not preceded by a space
autospeed=0
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
524 |
Operator not preceded by a space
autospeed=1
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
539 |
Operator not preceded by a space
num_resp_options=[]
^ |
C0324 |
mythalsig |
Matcher.assignIcons |
540 |
Comma not followed by a space
for entry in range(1,len(presets)+1):
^^ |
C0322 |
mythalsig |
Matcher.assignIcons |
542 |
Operator not preceded by a space
resp_options=['r']+num_resp_options
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
543 |
Operator not preceded by a space
resp=None
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
544 |
Operator not preceded by a space
while resp==None:
^^ |
C0322 |
mythalsig |
Matcher.assignIcons |
546 |
Operator not preceded by a space
resp=raw_input('Please enter choice [1-%d/r]? ' % (len(presets)))
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
548 |
Operator not preceded by a space
resp=None
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
552 |
Operator not preceded by a space
ret_main=0
^ |
C0323 |
mythalsig |
Matcher.assignIcons |
553 |
Operator not followed by a space
if resp =='r':
^^ |
C0322 |
mythalsig |
Matcher.assignIcons |
554 |
Operator not preceded by a space
ret_main=1
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
559 |
Operator not preceded by a space
channel_set[2]=None
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
563 |
Operator not preceded by a space
search_term=raw_input('Enter a new fuzzy term: ')
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
564 |
Operator not preceded by a space
search_terms=[search_term.upper()]
^ |
C0322 |
mythalsig |
Matcher.assignIcons |
571 |
Operator not preceded by a space
exit=1
^ |
R0912 |
mythalsig |
Matcher.assignIcons |
424 |
Too many branches (36/12) |
R0915 |
mythalsig |
Matcher.assignIcons |
424 |
Too many statements (111/50) |
R0903 |
mythalsig |
Matcher |
416 |
Not enough public methods (1/2) |
W0131 |
mythalsig |
usage |
574 |
Missing docstring |
R0914 |
mythalsig |
main |
577 |
Too many local variables (29/15) |
W0131 |
mythalsig |
main |
577 |
Missing docstring |
C0101 |
mythalsig |
main |
581 |
Too short name "cp" |
C0101 |
mythalsig |
main |
614 |
Too short name "a" |
C0101 |
mythalsig |
main |
614 |
Too short name "o" |
C0322 |
mythalsig |
main |
579 |
Operator not preceded by a space
myth_db_config_file=os.path.expanduser('~/.mythtv/mysql.txt')
^ |
C0322 |
mythalsig |
main |
581 |
Operator not preceded by a space
cp=ConfigParser.SafeConfigParser()
^ |
C0322 |
mythalsig |
main |
583 |
Operator not preceded by a space
myth_db_config=dict(cp.items('MythDBSettings'))
^ |
W0121 |
mythalsig |
main |
584 |
Use of the global statement |
C0322 |
mythalsig |
main |
585 |
Operator not preceded by a space
db_host=myth_db_config.get('dbhostname', db_host)
^ |
C0322 |
mythalsig |
main |
586 |
Operator not preceded by a space
db_name=myth_db_config.get('dbname', db_name)
^ |
C0322 |
mythalsig |
main |
587 |
Operator not preceded by a space
db_user=myth_db_config.get('dbusername', db_user)
^ |
C0322 |
mythalsig |
main |
588 |
Operator not preceded by a space
db_passwd=myth_db_config.get('dbpassword', db_passwd)
^ |
W0121 |
mythalsig |
main |
602 |
Use of the global statement |
C0322 |
mythalsig |
main |
603 |
Operator not preceded by a space
region_codes=default_region_codes
^ |
C0322 |
mythalsig |
main |
604 |
Operator not preceded by a space
sourceid=None
^ |
C0322 |
mythalsig |
main |
605 |
Operator not preceded by a space
overwrite=0
^ |
C0322 |
mythalsig |
main |
606 |
Operator not preceded by a space
callsigns=0
^ |
C0322 |
mythalsig |
main |
607 |
Operator not preceded by a space
force_update=0
^ |
C0322 |
mythalsig |
main |
608 |
Operator not preceded by a space
no_auto_select=0
^ |
C0322 |
mythalsig |
main |
609 |
Operator not preceded by a space
dtf_name=None
^ |
C0322 |
mythalsig |
main |
610 |
Operator not preceded by a space
info=0
^ |
C0322 |
mythalsig |
main |
611 |
Operator not preceded by a space
limit=None
^ |
C0322 |
mythalsig |
main |
619 |
Operator not preceded by a space
region_codes=a
^ |
C0322 |
mythalsig |
main |
621 |
Operator not preceded by a space
sourceid=a
^ |
C0322 |
mythalsig |
main |
623 |
Operator not preceded by a space
overwrite=1
^ |
C0322 |
mythalsig |
main |
625 |
Operator not preceded by a space
callsigns=1
^ |
C0322 |
mythalsig |
main |
627 |
Operator not preceded by a space
force_update=1
^ |
C0322 |
mythalsig |
main |
629 |
Operator not preceded by a space
no_auto_select=1
^ |
C0322 |
mythalsig |
main |
631 |
Operator not preceded by a space
dtf_name=os.path.abspath(a)
^ |
C0322 |
mythalsig |
main |
636 |
Operator not preceded by a space
info=1
^ |
C0322 |
mythalsig |
main |
638 |
Operator not preceded by a space
limit=[]
^ |
C0322 |
mythalsig |
main |
639 |
Operator not preceded by a space
prelimit=a
^ |
C0322 |
mythalsig |
main |
640 |
Operator not preceded by a space
prelimit=prelimit.split(',')
^ |
C0322 |
mythalsig |
main |
643 |
Operator not preceded by a space
pair=item.split('-')
^ |
W0701 |
mythalsig |
main |
645 |
Raise a string exception |
C0322 |
mythalsig |
main |
646 |
Operator not preceded by a space
rng=range(int(pair[0]),int(pair[1])+1)
^ |
C0322 |
mythalsig |
main |
647 |
Operator not preceded by a space
limit=limit+rng
^ |
C0322 |
mythalsig |
main |
652 |
Operator not preceded by a space
channel_list=ChannelList(sourceid, force_update, limit)
^ |
C0322 |
mythalsig |
main |
661 |
Operator not preceded by a space
region_list=RegionList(region_codes, overwrite, force_update)
^ |
C0322 |
mythalsig |
main |
665 |
Operator not preceded by a space
matcher=Matcher(channel_list, region_list, no_auto_select)
^ |
C0322 |
mythalsig |
main |
670 |
Operator not preceded by a space
dtf=open(dtf_name, 'w')
^ |
C0322 |
mythalsig |
main |
672 |
Operator not preceded by a space
dtf=None
^ |
W0612 |
mythalsig |
main |
665 |
Unused variable 'matcher' |
W0612 |
mythalsig |
main |
592 |
Unused variable 'args' |
R0912 |
mythalsig |
main |
577 |
Too many branches (24/12) |
R0915 |
mythalsig |
main |
577 |
Too many statements (80/50) |
C0322 |
mythalsig |
|
692 |
Operator not preceded by a space
if __name__=='__main__':
^^ |
W0611 |
mythalsig |
|
78 |
Unused import re |