diff options
author | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-04-19 12:44:28 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-04-19 12:44:28 -0400 |
commit | c9da67b5170b473895ce83feba2aa328cf5ec9f8 (patch) | |
tree | d932414a83ed58ca0ad3f153a3173dc5e5eb2c84 /cobbler/serializer.py | |
parent | d7e488931d1c28f9f0693b7eaebe26bea19f72c5 (diff) | |
download | third_party-cobbler-c9da67b5170b473895ce83feba2aa328cf5ec9f8.tar.gz third_party-cobbler-c9da67b5170b473895ce83feba2aa328cf5ec9f8.tar.xz third_party-cobbler-c9da67b5170b473895ce83feba2aa328cf5ec9f8.zip |
Various improvements to make the API more usable and cobbler a bit
more efficient.
Make both the Config and BootAPI objects Borgs, to prevent duplicate
configuration records. Also do not implicitly serialize configuration
objects unless the with_copy parameter is used.
Diffstat (limited to 'cobbler/serializer.py')
-rw-r--r-- | cobbler/serializer.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cobbler/serializer.py b/cobbler/serializer.py index 4cf85f8..9a4925c 100644 --- a/cobbler/serializer.py +++ b/cobbler/serializer.py @@ -25,6 +25,7 @@ def serialize(obj): Will create intermediate paths if it can. Returns True on Success, False on permission errors. """ + # FIXME: DEBUG filename = obj.filename() try: fd = open(filename,"w+") |