pyneighborhood team mailing list archive
-
pyneighborhood team
-
Mailing list archive
-
Message #00225
[Branch ~pyneighborhood/pyneighborhood/devel] Rev 568: equalize licence (>=GPLv3) in all .py-files
------------------------------------------------------------
revno: 568
committer: Linus Hoppe <mail@xxxxxxxxxxxxx>
branch nick: pyneighborhood
timestamp: Wed 2011-03-16 21:15:19 +0100
message:
equalize licence (>=GPLv3) in all .py-files
modified:
pyneighborhood/__init__.py
pyneighborhood/about.py
pyneighborhood/database.py
pyneighborhood/errors.py
pyneighborhood/mainwindow.py
pyneighborhood/misc.py
pyneighborhood/nmblookup.py
pyneighborhood/options.py
pyneighborhood/smbclient.py
--
lp:pyneighborhood
https://code.launchpad.net/~pyneighborhood/pyneighborhood/devel
Your team pyNeighborhood is subscribed to branch lp:pyneighborhood.
To unsubscribe from this branch go to https://code.launchpad.net/~pyneighborhood/pyneighborhood/devel/+edit-subscription
=== modified file 'pyneighborhood/__init__.py'
--- pyneighborhood/__init__.py 2010-10-22 10:13:57 +0000
+++ pyneighborhood/__init__.py 2011-03-16 20:15:19 +0000
@@ -1,16 +1,20 @@
-## __init__.py
-##
-## Copyright (C) 2005-2007 Mykola Lynnyk <pydefiner@xxxxxxxxx>
-## Copyright (C) 2008-2009 Stefan J. Betz <stefan_betz@xxxxxxx>
-##
-## 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; version 3 only.
-##
-## 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.
+# __init__.py
+#
+# Copyright (C) 2005-2007 Mykola Lynnyk <pydefiner@xxxxxxxxx>
+# Copyright (C) 2008-2009 Stefan J. Betz <stefan_betz@xxxxxxx>
+#
+# 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/>.
import gettext
import ConfigParser
=== modified file 'pyneighborhood/about.py'
--- pyneighborhood/about.py 2010-10-22 12:11:16 +0000
+++ pyneighborhood/about.py 2011-03-16 20:15:19 +0000
@@ -1,16 +1,19 @@
-## about.py
-##
-## Copyright (C) 2006-2008 Betz Stefan <stefan_betz@xxxxxxx>
-##
-## 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; version 3 only.
-##
-## 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.
-##
+# about.py
+#
+# Copyright (C) 2006-2008 Betz Stefan <stefan_betz@xxxxxxx>
+#
+# 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/>.
import pygtk
pygtk.require('2.0')
=== modified file 'pyneighborhood/database.py'
--- pyneighborhood/database.py 2010-07-24 15:31:56 +0000
+++ pyneighborhood/database.py 2011-03-16 20:15:19 +0000
@@ -1,15 +1,19 @@
-## database.py
-##
-## Copyright (C) 2009 Stefan J. Betz <stefan_betz@xxxxxxx>
-##
-## 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; version 3 only.
-##
-## 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.
+# database.py
+#
+# Copyright (C) 2009 Stefan J. Betz <stefan_betz@xxxxxxx>
+#
+# 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/>.
"""
This Modul contains all database related stuff, expect the database itself.
=== modified file 'pyneighborhood/errors.py'
--- pyneighborhood/errors.py 2010-07-24 15:31:56 +0000
+++ pyneighborhood/errors.py 2011-03-16 20:15:19 +0000
@@ -1,16 +1,19 @@
-## errors.py
-##
-## Copyright (C) 2006-2008 Betz Stefan <stefan_betz@xxxxxxx>
-##
-## 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; version 3 only.
-##
-## 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.
-##
+# errors.py
+#
+# Copyright (C) 2006-2008 Betz Stefan <stefan_betz@xxxxxxx>
+#
+# 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/>.
"""
Exceptions Module
=== modified file 'pyneighborhood/mainwindow.py'
--- pyneighborhood/mainwindow.py 2011-01-22 13:00:40 +0000
+++ pyneighborhood/mainwindow.py 2011-03-16 20:15:19 +0000
@@ -1,16 +1,19 @@
-## mainwindow.py
-##
-## Copyright (C) 2008 Stefan Betz <stefan_betz@xxxxxxx>
-##
-## 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; version 3 only.
-##
-## 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.
-
+# mainwindow.py
+#
+# Copyright (C) 2008 Stefan Betz <stefan_betz@xxxxxxx>
+#
+# 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/>.
# Stdlib Imports
import subprocess
=== modified file 'pyneighborhood/misc.py'
--- pyneighborhood/misc.py 2010-09-28 18:56:46 +0000
+++ pyneighborhood/misc.py 2011-03-16 20:15:19 +0000
@@ -4,14 +4,18 @@
# Copyright (C) 2005-2007 Mykola Lynnyk <pydefiner@xxxxxxxxx>
# Copyright (C) 2008 Stefan J. Betz <stefan_betz@xxxxxxx>
#
-# 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; version 3 only.
+# 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/>.
from sys import argv
from os import getenv, environ
=== modified file 'pyneighborhood/nmblookup.py'
--- pyneighborhood/nmblookup.py 2010-09-16 07:16:01 +0000
+++ pyneighborhood/nmblookup.py 2011-03-16 20:15:19 +0000
@@ -1,17 +1,5 @@
# nmblookup.py
# -*- coding:utf-8 -*-
-"""
-==============================
-Network Message Block Handling
-==============================
-
-This part is usefull for basic network browsing tasks like:
-
-* List avaliable workgroups
-* List hosts in a workgroup
-* Query the master browser of a workgroup
-* Scan for NetBIOS Hostname and Workgroup
-"""
# Copyright (C) 2008-2009 Stefan J. Betz <stefan_betz@xxxxxxx>
#
# This program is free software: you can redistribute it and/or modify
@@ -27,6 +15,19 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+"""
+==============================
+Network Message Block Handling
+==============================
+
+This part is usefull for basic network browsing tasks like:
+
+* List avaliable workgroups
+* List hosts in a workgroup
+* Query the master browser of a workgroup
+* Scan for NetBIOS Hostname and Workgroup
+"""
+
from re import compile
from copy import copy
from subprocess import Popen, PIPE
=== modified file 'pyneighborhood/options.py'
--- pyneighborhood/options.py 2011-01-23 14:13:07 +0000
+++ pyneighborhood/options.py 2011-03-16 20:15:19 +0000
@@ -1,16 +1,19 @@
-## options.py
-##
-## Copyright (C) 2008 Stefan Betz <stefan_betz@xxxxxxx>
-##
-## 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; version 3 only.
-##
-## 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.
-##
+# options.py
+#
+# Copyright (C) 2008 Stefan Betz <stefan_betz@xxxxxxx>
+#
+# 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/>.
import pygtk
pygtk.require('2.0')
=== modified file 'pyneighborhood/smbclient.py'
--- pyneighborhood/smbclient.py 2011-01-23 14:06:31 +0000
+++ pyneighborhood/smbclient.py 2011-03-16 20:15:19 +0000
@@ -1,12 +1,5 @@
# smbclient.py
#-*- coding:utf-8 -*-
-"""
-==============================
-Service Message Block Handling
-==============================
-
-All functions in this API rely on smbclient for their real work.
-"""
# Copyright (C) 2008 Stefan J. Betz <stefan_betz@xxxxxxx>
#
# This program is free software: you can redistribute it and/or modify
@@ -22,6 +15,14 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+"""
+==============================
+Service Message Block Handling
+==============================
+
+All functions in this API rely on smbclient for their real work.
+"""
+
import subprocess
import copy
import re