From 3357cec34a81e5293fd848d4fa720d2aa87d800f Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 7 Dec 2014 16:36:47 +0100 Subject: License cleanup --- pyload/manager/AddonManager.py | 19 ++----------------- pyload/manager/CaptchaManager.py | 18 +----------------- pyload/manager/RemoteManager.py | 17 +---------------- pyload/manager/ThreadManager.py | 18 +----------------- pyload/manager/event/PullEvents.py | 18 +----------------- pyload/manager/event/Scheduler.py | 18 +----------------- pyload/manager/thread/AddonThread.py | 18 +----------------- pyload/manager/thread/DecrypterThread.py | 18 +----------------- pyload/manager/thread/DownloadThread.py | 18 +----------------- pyload/manager/thread/InfoThread.py | 18 +----------------- pyload/manager/thread/PluginThread.py | 18 +----------------- pyload/manager/thread/ServerThread.py | 3 +++ 12 files changed, 15 insertions(+), 186 deletions(-) (limited to 'pyload/manager') diff --git a/pyload/manager/AddonManager.py b/pyload/manager/AddonManager.py index d4b43cb93..ced0611bc 100644 --- a/pyload/manager/AddonManager.py +++ b/pyload/manager/AddonManager.py @@ -1,22 +1,7 @@ # -*- coding: utf-8 -*- +# @author: RaNaN, mkaay +# @interface-version: 0.1 -""" - 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 . - - @author: RaNaN, mkaay - @interface-version: 0.1 -""" import __builtin__ import traceback diff --git a/pyload/manager/CaptchaManager.py b/pyload/manager/CaptchaManager.py index 955d35b43..1a1d2f6bf 100644 --- a/pyload/manager/CaptchaManager.py +++ b/pyload/manager/CaptchaManager.py @@ -1,21 +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 . - - @author: mkaay, RaNaN -""" +# @author: RaNaN, mkaay from time import time from traceback import print_exc diff --git a/pyload/manager/RemoteManager.py b/pyload/manager/RemoteManager.py index 1ce007c6c..910881164 100644 --- a/pyload/manager/RemoteManager.py +++ b/pyload/manager/RemoteManager.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 . - - @author: mkaay -""" +# @author: RaNaN from threading import Thread from traceback import print_exc diff --git a/pyload/manager/ThreadManager.py b/pyload/manager/ThreadManager.py index c1204c632..b403fbf8d 100644 --- a/pyload/manager/ThreadManager.py +++ b/pyload/manager/ThreadManager.py @@ -1,21 +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 . - - @author: RaNaN -""" +# @author: RaNaN from os.path import exists, join import re diff --git a/pyload/manager/event/PullEvents.py b/pyload/manager/event/PullEvents.py index aa78f590e..20897290e 100644 --- a/pyload/manager/event/PullEvents.py +++ b/pyload/manager/event/PullEvents.py @@ -1,21 +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 . - - @author: mkaay -""" +# @author: mkaay from time import time from pyload.utils import uniqify diff --git a/pyload/manager/event/Scheduler.py b/pyload/manager/event/Scheduler.py index 59b84cfcf..fd428a956 100644 --- a/pyload/manager/event/Scheduler.py +++ b/pyload/manager/event/Scheduler.py @@ -1,21 +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 . - - @author: mkaay -""" +# @author: mkaay from time import time from heapq import heappop, heappush diff --git a/pyload/manager/thread/AddonThread.py b/pyload/manager/thread/AddonThread.py index 441606874..c699a93f9 100644 --- a/pyload/manager/thread/AddonThread.py +++ b/pyload/manager/thread/AddonThread.py @@ -1,21 +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 . - - @author: RaNaN -""" +# @author: RaNaN from Queue import Queue from threading import Thread diff --git a/pyload/manager/thread/DecrypterThread.py b/pyload/manager/thread/DecrypterThread.py index 6c8bb5074..1395fcd2f 100644 --- a/pyload/manager/thread/DecrypterThread.py +++ b/pyload/manager/thread/DecrypterThread.py @@ -1,21 +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 . - - @author: RaNaN -""" +# @author: RaNaN from Queue import Queue from threading import Thread diff --git a/pyload/manager/thread/DownloadThread.py b/pyload/manager/thread/DownloadThread.py index 5ecdd9953..7b093f8f7 100644 --- a/pyload/manager/thread/DownloadThread.py +++ b/pyload/manager/thread/DownloadThread.py @@ -1,21 +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 . - - @author: RaNaN -""" +# @author: RaNaN from Queue import Queue from threading import Thread diff --git a/pyload/manager/thread/InfoThread.py b/pyload/manager/thread/InfoThread.py index 807910cd2..f8ff34f7b 100644 --- a/pyload/manager/thread/InfoThread.py +++ b/pyload/manager/thread/InfoThread.py @@ -1,21 +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 . - - @author: RaNaN -""" +# @author: RaNaN from Queue import Queue from threading import Thread diff --git a/pyload/manager/thread/PluginThread.py b/pyload/manager/thread/PluginThread.py index f3a49d621..b27210e31 100644 --- a/pyload/manager/thread/PluginThread.py +++ b/pyload/manager/thread/PluginThread.py @@ -1,21 +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 . - - @author: RaNaN -""" +# @author: RaNaN from Queue import Queue from threading import Thread diff --git a/pyload/manager/thread/ServerThread.py b/pyload/manager/thread/ServerThread.py index 0f3ed01ff..a8b95cd56 100644 --- a/pyload/manager/thread/ServerThread.py +++ b/pyload/manager/thread/ServerThread.py @@ -1,4 +1,7 @@ +# -*- coding: utf-8 -*- + from __future__ import with_statement + from os.path import exists import os -- cgit v1.2.3