Use plain list for info strings.

This commit is contained in:
Bastian Kleineidam 2009-03-07 00:19:19 +01:00
parent 897b68ae9b
commit 2351506752

View file

@ -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):
"""