summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorYaakov M. Nemoy <loupgaroublond@gmail.com>2008-12-30 20:35:36 -0500
committerYaakov M. Nemoy <loupgaroublond@gmail.com>2008-12-30 20:35:36 -0500
commit74ca5a13157fc6aab764ff50c4a5791c4effd609 (patch)
tree205a9fc0895f184b57beba9168a13eb0c9bee02a /base
parent0cb6e545b308e79a5d4aa6c36b7366f2b0fc30fd (diff)
downloadfedora-devshell-74ca5a13157fc6aab764ff50c4a5791c4effd609.tar.gz
fedora-devshell-74ca5a13157fc6aab764ff50c4a5791c4effd609.tar.xz
fedora-devshell-74ca5a13157fc6aab764ff50c4a5791c4effd609.zip
Updated license.
Diffstat (limited to 'base')
-rw-r--r--base/base.py18
-rw-r--r--base/exceptions.py21
-rw-r--r--base/module.py18
-rw-r--r--base/profiles.py19
-rw-r--r--base/rpm_utils.py19
-rw-r--r--base/util.py18
-rw-r--r--base/vars.py18
7 files changed, 128 insertions, 3 deletions
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 <lmacken@redhat.com>
+# Yaakov M. Nemoy <ynemoy@redhat.com>
+#
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 <lmacken@redhat.com>
+# Yaakov M. Nemoy <ynemoy@redhat.com>
+#
+
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 <lmacken@redhat.com>
+# Yaakov M. Nemoy <ynemoy@redhat.com>
+#
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 <ynemoy@redhat.com>
+#
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 <ynemoy@redhat.com>
+#
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 <ynemoy@redhat.com>
+#
+
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 <lmacken@redhat.com>
+# Yaakov M. Nemoy <ynemoy@redhat.com>
+#
from os.path import join, expanduser
__version__ = '0.0.1'