diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-07 16:36:47 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-07 16:36:47 +0100 |
commit | 3357cec34a81e5293fd848d4fa720d2aa87d800f (patch) | |
tree | b3a5942dead71a1a3f43a38c9dfdeb89e4a33ade /pyload/database | |
parent | Fix with_statement (diff) | |
download | pyload-3357cec34a81e5293fd848d4fa720d2aa87d800f.tar.xz |
License cleanup
Diffstat (limited to 'pyload/database')
-rw-r--r-- | pyload/database/DatabaseBackend.py | 20 | ||||
-rw-r--r-- | pyload/database/FileDatabase.py | 20 | ||||
-rw-r--r-- | pyload/database/StorageDatabase.py | 17 | ||||
-rw-r--r-- | pyload/database/UserDatabase.py | 17 |
4 files changed, 7 insertions, 67 deletions
diff --git a/pyload/database/DatabaseBackend.py b/pyload/database/DatabaseBackend.py index 8bde60335..4b63dd284 100644 --- a/pyload/database/DatabaseBackend.py +++ b/pyload/database/DatabaseBackend.py @@ -1,20 +1,6 @@ -""" - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, - or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - See the GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. - - @author: RaNaN - @author: mkaay -""" +# -*- coding: utf-8 -*- +# @author: RaNaN, mkaay + from threading import Event, Thread from os import remove from os.path import exists diff --git a/pyload/database/FileDatabase.py b/pyload/database/FileDatabase.py index 39e13fe29..592b05b6a 100644 --- a/pyload/database/FileDatabase.py +++ b/pyload/database/FileDatabase.py @@ -1,21 +1,5 @@ -""" - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, - or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - See the GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. - - @author: RaNaN - @author: mkaay -""" - +# -*- coding: utf-8 -*- +# @author: RaNaN, mkaay from threading import RLock from time import time diff --git a/pyload/database/StorageDatabase.py b/pyload/database/StorageDatabase.py index 30f12af17..75e166d39 100644 --- a/pyload/database/StorageDatabase.py +++ b/pyload/database/StorageDatabase.py @@ -1,20 +1,5 @@ # -*- coding: utf-8 -*- -""" - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, - or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - See the GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. - - @author: mkaay -""" +# @author: mkaay from pyload.database import style from pyload.database import DatabaseBackend diff --git a/pyload/database/UserDatabase.py b/pyload/database/UserDatabase.py index 59734a518..7e89d7df4 100644 --- a/pyload/database/UserDatabase.py +++ b/pyload/database/UserDatabase.py @@ -1,20 +1,5 @@ # -*- coding: utf-8 -*- -""" - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, - or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - See the GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. - - @author: mkaay -""" +# @author: mkaay from hashlib import sha1 import random |