summaryrefslogtreecommitdiffstats
path: root/module/file_list.py
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-06-18 15:05:25 +0200
committerGravatar spoob <spoob@gmx.de> 2009-06-18 15:05:25 +0200
commitb82662e8c9ac9ff0047f75a04f350dc880eb330f (patch)
tree037c5d1784a0321da92e75c3cfd3ee4f2957ea60 /module/file_list.py
parentplugin for gigasize (diff)
downloadpyload-b82662e8c9ac9ff0047f75a04f350dc880eb330f.tar.xz
worked on gigasize.com Plugin
Diffstat (limited to 'module/file_list.py')
-rw-r--r--module/file_list.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/module/file_list.py b/module/file_list.py
index 3a1c866dc..ea2dfd817 100644
--- a/module/file_list.py
+++ b/module/file_list.py
@@ -50,10 +50,12 @@ class File_List(object):
def remove(self, pyfile):
- if pyfile in self.files:
- self.files.remove(pyfile)
+ pass
- del self.data[pyfile.id]
+ #if pyfile in self.files:
+ # self.files.remove(pyfile)
+
+ #del self.data[pyfile.id]
def get_id(self):
"""return a free id"""
@@ -62,7 +64,6 @@ class File_List(object):
id += 1
return id
-
def save(self):
output = open('links.pkl', 'wb')
@@ -95,4 +96,4 @@ class File_List(object):
class Data():
def __init__(self, url):
- self.url = url \ No newline at end of file
+ self.url = url