summaryrefslogtreecommitdiffstats
path: root/module/plugins/container
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/container')
-rw-r--r--module/plugins/container/CCF.py2
-rw-r--r--module/plugins/container/RSDF.py6
2 files changed, 3 insertions, 5 deletions
diff --git a/module/plugins/container/CCF.py b/module/plugins/container/CCF.py
index a55357af4..a5a071820 100644
--- a/module/plugins/container/CCF.py
+++ b/module/plugins/container/CCF.py
@@ -41,4 +41,4 @@ class CCF(Container):
tempdlc.write(re.search(r'<dlc>(.*)</dlc>', tempdlc_content, re.DOTALL).group(1))
tempdlc.close()
- self.packages.append((tempdlc_name, [tempdlc_name], tempdlc_name))
+ self.urls = [tempdlc_name]
diff --git a/module/plugins/container/RSDF.py b/module/plugins/container/RSDF.py
index 2444ec752..c35efacc6 100644
--- a/module/plugins/container/RSDF.py
+++ b/module/plugins/container/RSDF.py
@@ -40,14 +40,12 @@ class RSDF(Container):
data = binascii.unhexlify(''.join(data.split()))
data = data.splitlines()
- links = []
for link in data:
if not link:
continue
link = base64.b64decode(link)
link = obj.decrypt(link)
decryptedUrl = link.replace('CCF: ', '')
- links.append(decryptedUrl)
+ self.urls.append(decryptedUrl)
- self.logDebug("%s: adding package %s with %d links" % (self.__name__, pyfile.package().name, len(links)))
- self.packages.append((pyfile.package().name, links))
+ self.log.debug("%s: adding package %s with %d links" % (self.__name__,pyfile.package().name,len(links)))