diff --git a/src/__init__.py b/src/__init__.py index 1c955a98c..bc3019b53 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -1,3 +1,35 @@ +# -*- coding: utf-8 -*- +# +# __init__.py +# +# Copyright (C) Marcos Pinto 2007 +# +# 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 2, 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, write to: +# The Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor +# Boston, MA 02110-1301, USA. +# +# In addition, as a special exception, the copyright holders give +# permission to link the code of portions of this program with the OpenSSL +# library. +# You must obey the GNU General Public License in all respects for all of +# the code used other than OpenSSL. If you modify file(s) with this +# exception, you may extend this exception to your version of the file(s), +# but you are not obligated to do so. If you do not wish to do so, delete +# this exception statement from your version. If you delete this exception +# statement from all source files in the program, then also delete it here. + import gettext import locale import os diff --git a/src/browser.py b/src/browser.py index 89d865c0e..375f86011 100644 --- a/src/browser.py +++ b/src/browser.py @@ -1,5 +1,34 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# browser.py +# +# Copyright (C) Marcos Pinto 2007 +# +# 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 2, 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, write to: +# The Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor +# Boston, MA 02110-1301, USA. +# +# In addition, as a special exception, the copyright holders give +# permission to link the code of portions of this program with the OpenSSL +# library. +# You must obey the GNU General Public License in all respects for all of +# the code used other than OpenSSL. If you modify file(s) with this +# exception, you may extend this exception to your version of the file(s), +# but you are not obligated to do so. If you do not wish to do so, delete +# this exception statement from your version. If you delete this exception +# statement from all source files in the program, then also delete it here. import webbrowser import sys diff --git a/src/common.py b/src/common.py index 79bb78259..4a649683a 100644 --- a/src/common.py +++ b/src/common.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) Zach Tibbitts 2006 diff --git a/src/core.py b/src/core.py index cc7967e07..55154eaf9 100644 --- a/src/core.py +++ b/src/core.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- # core.py # diff --git a/src/deluge_stats.py b/src/deluge_stats.py index 29b1bd5b0..9e9df9e60 100644 --- a/src/deluge_stats.py +++ b/src/deluge_stats.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2006 Alon Zakai ('Kripken') # diff --git a/src/dgtk.py b/src/dgtk.py index 308835baf..6706ca7db 100644 --- a/src/dgtk.py +++ b/src/dgtk.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- # dgtk.py # diff --git a/src/dialogs.py b/src/dialogs.py index 0f1fc94f9..ccba4073f 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- # dialogs.py # diff --git a/src/files.py b/src/files.py index 560fe7d77..fef837550 100644 --- a/src/files.py +++ b/src/files.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- # # tab_files.py diff --git a/src/info.py b/src/info.py index 645b07edf..9b42cfc70 100644 --- a/src/info.py +++ b/src/info.py @@ -1,5 +1,34 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# info.py +# +# Copyright (C) Marcos Pinto 2007 +# +# 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 2, 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, write to: +# The Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor +# Boston, MA 02110-1301, USA. +# +# In addition, as a special exception, the copyright holders give +# permission to link the code of portions of this program with the OpenSSL +# library. +# You must obey the GNU General Public License in all respects for all of +# the code used other than OpenSSL. If you modify file(s) with this +# exception, you may extend this exception to your version of the file(s), +# but you are not obligated to do so. If you do not wish to do so, delete +# this exception statement from your version. If you delete this exception +# statement from all source files in the program, then also delete it here. import urllib import platform diff --git a/src/interface.py b/src/interface.py index 606d86a91..ca0c780a3 100644 --- a/src/interface.py +++ b/src/interface.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- # # interface.py diff --git a/src/ipc_manager.py b/src/ipc_manager.py index 2d8b9d9b2..95446749b 100644 --- a/src/ipc_manager.py +++ b/src/ipc_manager.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- # ipc_manager.py # diff --git a/src/plugins.py b/src/plugins.py index 21b33d24d..2adc2b164 100644 --- a/src/plugins.py +++ b/src/plugins.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- # # delugeplugins.py diff --git a/src/pref.py b/src/pref.py index 40c9598f7..376106de7 100644 --- a/src/pref.py +++ b/src/pref.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- # pref.py # diff --git a/src/tab_details.py b/src/tab_details.py index efa6f48b4..cbba2ed16 100644 --- a/src/tab_details.py +++ b/src/tab_details.py @@ -1,7 +1,34 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- # # tab_details.py +# +# Copyright (C) Marcos Pinto 2007 +# +# 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 2, 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, write to: +# The Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor +# Boston, MA 02110-1301, USA. +# +# In addition, as a special exception, the copyright holders give +# permission to link the code of portions of this program with the OpenSSL +# library. +# You must obey the GNU General Public License in all respects for all of +# the code used other than OpenSSL. If you modify file(s) with this +# exception, you may extend this exception to your version of the file(s), +# but you are not obligated to do so. If you do not wish to do so, delete +# this exception statement from your version. If you delete this exception +# statement from all source files in the program, then also delete it here. import common diff --git a/src/update.py b/src/update.py index cbd2743ee..b80f11c6c 100644 --- a/src/update.py +++ b/src/update.py @@ -1,5 +1,34 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# update.py +# +# Copyright (C) Marcos Pinto 2007 +# +# 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 2, 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, write to: +# The Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor +# Boston, MA 02110-1301, USA. +# +# In addition, as a special exception, the copyright holders give +# permission to link the code of portions of this program with the OpenSSL +# library. +# You must obey the GNU General Public License in all respects for all of +# the code used other than OpenSSL. If you modify file(s) with this +# exception, you may extend this exception to your version of the file(s), +# but you are not obligated to do so. If you do not wish to do so, delete +# this exception statement from your version. If you delete this exception +# statement from all source files in the program, then also delete it here. import urllib import sys