summaryrefslogtreecommitdiffstats
path: root/module/database/FileDatabase.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-02 17:01:59 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-02 17:01:59 +0200
commit56754bcdbd15db520318a88ac779e1eb027853a8 (patch)
tree2d1a09b3fbe36eb6575e2ea757014b5c3d2dcb46 /module/database/FileDatabase.py
parentupload to fix (diff)
downloadpyload-56754bcdbd15db520318a88ac779e1eb027853a8.tar.xz
added several checks to improve stability
Diffstat (limited to 'module/database/FileDatabase.py')
-rw-r--r--module/database/FileDatabase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/database/FileDatabase.py b/module/database/FileDatabase.py
index 3ba43f881..7ecf81576 100644
--- a/module/database/FileDatabase.py
+++ b/module/database/FileDatabase.py
@@ -96,7 +96,7 @@ class FileHandler:
self.db.syncSave()
- #----------------------------------------------------------------------
+ @lock
def getCompleteData(self, queue=1):
"""gets a complete data representation"""
@@ -112,7 +112,7 @@ class FileHandler:
return packs
- #----------------------------------------------------------------------
+ @lock
def getInfoData(self, queue=1):
"""gets a data representation without links"""