mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-20 20:31:53 +00:00
Use plain list for info strings.
This commit is contained in:
parent
897b68ae9b
commit
2351506752
1 changed files with 4 additions and 3 deletions
|
|
@ -138,8 +138,8 @@ class UrlBase (object):
|
|||
self.valid = True
|
||||
# list of warnings (without duplicates)
|
||||
self.warnings = containers.SetList()
|
||||
# list of infos (without duplicates)
|
||||
self.info = containers.SetList()
|
||||
# list of infos
|
||||
self.info = []
|
||||
# download time
|
||||
self.dltime = -1
|
||||
# download size
|
||||
|
|
@ -241,7 +241,8 @@ class UrlBase (object):
|
|||
"""
|
||||
Add an info string.
|
||||
"""
|
||||
self.info.append(s)
|
||||
if s not in self.info:
|
||||
self.info.append(s)
|
||||
|
||||
def copy_from_cache (self, cache_data):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue