eric6/E5Network/E5TldExtractor.py

changeset 7716
313e09453306
parent 7360
9190402e4505
child 7717
f32d7965a17e
equal deleted inserted replaced
7715:ae49e290890d 7716:313e09453306
247 Private method to get the default search paths for the TLD data file. 247 Private method to get the default search paths for the TLD data file.
248 248
249 @return default search paths for the TLD data file 249 @return default search paths for the TLD data file
250 @rtype list of str 250 @rtype list of str
251 """ 251 """
252 # TODO: replace this with path to our data directory to remove .qrc
252 return [":"] 253 return [":"]
253 254
254 def getTldDownloadUrl(self): 255 def getTldDownloadUrl(self):
255 """ 256 """
256 Public method to get the TLD data file download URL. 257 Public method to get the TLD data file download URL.
431 @return normalized host address 432 @return normalized host address
432 @rtype str 433 @rtype str
433 """ 434 """
434 return host.lower() 435 return host.lower()
435 436
437 # TODO: remove this part and delete 'test_psl.txt'
436 ################################################################# 438 #################################################################
437 ## Methods below are for testing purposes 439 ## Methods below are for testing purposes
438 ################################################################# 440 #################################################################
439 441
440 def test(self): 442 def test(self):

eric ide

mercurial