From 74ca5a13157fc6aab764ff50c4a5791c4effd609 Mon Sep 17 00:00:00 2001 From: "Yaakov M. Nemoy" Date: Tue, 30 Dec 2008 20:35:36 -0500 Subject: Updated license. --- base/base.py | 18 ++++++++++++++++++ base/exceptions.py | 21 ++++++++++++++++++++- base/module.py | 18 ++++++++++++++++++ base/profiles.py | 19 ++++++++++++++++++- base/rpm_utils.py | 19 ++++++++++++++++++- base/util.py | 18 ++++++++++++++++++ base/vars.py | 18 ++++++++++++++++++ 7 files changed, 128 insertions(+), 3 deletions(-) (limited to 'base') diff --git a/base/base.py b/base/base.py index 59601ce..4ce3d25 100644 --- a/base/base.py +++ b/base/base.py @@ -1,3 +1,21 @@ +# Fedora Developer Shell +# +# 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 2 of the License. +# +# 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# Authors: Luke Macken +# Yaakov M. Nemoy +# import logging import os diff --git a/base/exceptions.py b/base/exceptions.py index 221b73e..9220b9f 100644 --- a/base/exceptions.py +++ b/base/exceptions.py @@ -1,3 +1,22 @@ +# Fedora Developer Shell +# +# 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 2 of the License. +# +# 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# Authors: Luke Macken +# Yaakov M. Nemoy +# + class ModuleError(Exception): def __init__(self, reason, error): self.reason = reason @@ -6,4 +25,4 @@ class ModuleError(Exception): class ExecutionException(Exception): def __init__(self, e, message): self.e = e - self.message = message \ No newline at end of file + self.message = message diff --git a/base/module.py b/base/module.py index 58a4bc3..04c2a7d 100644 --- a/base/module.py +++ b/base/module.py @@ -1,3 +1,21 @@ +# Fedora Developer Shell +# +# 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 2 of the License. +# +# 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# Authors: Luke Macken +# Yaakov M. Nemoy +# class Module(object): """ Our parent class for all command modules """ diff --git a/base/profiles.py b/base/profiles.py index 2490b3f..14ba17e 100644 --- a/base/profiles.py +++ b/base/profiles.py @@ -1,3 +1,20 @@ +# Fedora Developer Shell +# +# 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 2 of the License. +# +# 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# Authors: Yaakov M. Nemoy +# from os.path import join from subprocess import Popen, PIPE @@ -107,4 +124,4 @@ if __name__ == '__main__': __all__ = ['TARGET', 'DISTVAR', 'distdef', 'DISTVAL', 'head_branch', 'DIST', 'join_defines', 'ver_rel', 'define', 'dir_defines', 'get_mock_cfg', 'dist_defines', - 'Profile'] \ No newline at end of file + 'Profile'] diff --git a/base/rpm_utils.py b/base/rpm_utils.py index bfdae46..878cb82 100644 --- a/base/rpm_utils.py +++ b/base/rpm_utils.py @@ -1,3 +1,20 @@ +# Fedora Developer Shell +# +# 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 2 of the License. +# +# 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# Authors: Yaakov M. Nemoy +# from __future__ import with_statement import re @@ -30,4 +47,4 @@ def rpm_macros(**keys): for key, value in keys.iteritems(): rpm.delMacro(key) -__all__ = ['rpm_macros', 'RPMSpec'] \ No newline at end of file +__all__ = ['rpm_macros', 'RPMSpec'] diff --git a/base/util.py b/base/util.py index b53a918..e133149 100644 --- a/base/util.py +++ b/base/util.py @@ -1,3 +1,21 @@ +# Fedora Developer Shell +# +# 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 2 of the License. +# +# 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# Authors: Yaakov M. Nemoy +# + from __future__ import with_statement from contextlib import contextmanager diff --git a/base/vars.py b/base/vars.py index 5eddfeb..231322a 100644 --- a/base/vars.py +++ b/base/vars.py @@ -1,3 +1,21 @@ +# Fedora Developer Shell +# +# 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 2 of the License. +# +# 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# Authors: Luke Macken +# Yaakov M. Nemoy +# from os.path import join, expanduser __version__ = '0.0.1' -- cgit