diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-06-27 19:41:03 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-06-27 19:41:03 +0200 |
commit | cf8fea4179a673ffe2ec50de3a5d948a61f849aa (patch) | |
tree | a24f3be129904f22836b8caa7fdca33cf0d7547a /module/PyFile.py | |
parent | DepositFiles lang fix (diff) | |
download | pyload-cf8fea4179a673ffe2ec50de3a5d948a61f849aa.tar.xz |
Shareonline, zshare fix, testing __slots__ attribute
Diffstat (limited to 'module/PyFile.py')
-rw-r--r-- | module/PyFile.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/module/PyFile.py b/module/PyFile.py index 776039ef8..6ab8318fc 100644 --- a/module/PyFile.py +++ b/module/PyFile.py @@ -48,6 +48,11 @@ def setSize(self, value): self._size = int(value) class PyFile(object): + + __slots__ = ("m", "id", "url", "name", "size", "_size", "status", "pluginname", "packageid", + "error", "order", "lock", "plugin", "waitUntil", "active", "abort", + "reconnected", "progress", "pluginmodule", "pluginclass") + def __init__(self, manager, id, url, name, size, status, error, pluginname, package, order): self.m = manager |