summaryrefslogtreecommitdiffstats
path: root/cobbler/serializer.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-05-11 17:24:20 -0400
committerJim Meyering <jim@meyering.net>2006-05-11 17:24:20 -0400
commit85005517223359b0326045a7add495f77043fecc (patch)
tree8c9631fc93002f55232ed97860957088a90bfa89 /cobbler/serializer.py
parent47c86a2aa148df4fab9e0725fae639c1dfe1790d (diff)
downloadthird_party-cobbler-85005517223359b0326045a7add495f77043fecc.tar.gz
third_party-cobbler-85005517223359b0326045a7add495f77043fecc.tar.xz
third_party-cobbler-85005517223359b0326045a7add495f77043fecc.zip
Added licensing and RH copyright. Pychecker (once again). Fixed one unit test where I changed a command line syntax.
Diffstat (limited to 'cobbler/serializer.py')
-rw-r--r--cobbler/serializer.py16
1 files changed, 14 insertions, 2 deletions
diff --git a/cobbler/serializer.py b/cobbler/serializer.py
index bc46125..71781b7 100644
--- a/cobbler/serializer.py
+++ b/cobbler/serializer.py
@@ -1,4 +1,16 @@
-# Michael DeHaan <mdehaan@redhat.com>
+"""
+Serializer code for cobbler
+
+Copyright 2006, Red Hat, Inc
+Michael DeHaan <mdehaan@redhat.com>
+
+This software may be freely redistributed under the terms of the GNU
+general public license.
+
+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., 675 Mass Ave, Cambridge, MA 02139, USA.
+"""
import syck # PySyck 0.61 or greater, not syck-python 0.55
import errno
@@ -61,5 +73,5 @@ def deserialize(obj):
fd.close()
obj.from_datastruct(datastruct)
return True
-
+