def add_new_urls(self,urls): if urls in None or len(urls)==0 : return if url in urls: self.add_new_url(url)
def add_new_urls(self,urls):
if urls in None or len(urls)==0 :
return
if url in urls:------error
self.add_new_url(url)-----error
后面两行报错 是什么情况