summaryrefslogtreecommitdiffstats
path: root/module/FileManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-06-03 17:45:10 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-06-03 17:45:10 +0200
commit0d2d6daef850ac6bcc7fafccd230e52d2a862c2c (patch)
tree73e36baba63e4c0895149bab9fe698d32f405828 /module/FileManager.py
parentsmall typo fixes and TODOs (diff)
downloadpyload-0d2d6daef850ac6bcc7fafccd230e52d2a862c2c.tar.xz
updates for database + api
Diffstat (limited to 'module/FileManager.py')
-rw-r--r--module/FileManager.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/module/FileManager.py b/module/FileManager.py
index 5a0d2b958..9d3c9a9cc 100644
--- a/module/FileManager.py
+++ b/module/FileManager.py
@@ -5,7 +5,8 @@
# Copyright(c) 2008-2012 pyLoad Team
# http://www.pyload.org
#
-# This program is free software: you can redistribute it and/or modify
+# This file is part of pyLoad.
+# pyLoad is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
@@ -17,11 +18,12 @@
from time import time
from threading import RLock
+
from module.utils import lock
-from Api import PackageStatus, DownloadStatus as DS, PackageView, PackageDoesNotExists, FileDoesNotExists
-from PyFile import PyFile
-from PyPackage import PyPackage, RootPackage
+from Api import PackageStatus, DownloadStatus as DS, PackageView, PackageDoesNotExists
+from datatypes import PyFile, PyPackage
+from datatypes.PyPackage import RootPackage
# invalidates the cache
def invalidate(func):