diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-10-17 18:11:51 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-10-17 18:11:51 -0400 |
commit | 4a7d0c46c7dd4ab46a4850bd462729d1ea6be497 (patch) | |
tree | 918f0f0b66de6cda083d8dd3d888fd7589c24cba /cobbler/api.py | |
parent | 940a0bbbe44db52c06514423823f865a6c579e3a (diff) | |
download | third_party-cobbler-4a7d0c46c7dd4ab46a4850bd462729d1ea6be497.tar.gz third_party-cobbler-4a7d0c46c7dd4ab46a4850bd462729d1ea6be497.tar.xz third_party-cobbler-4a7d0c46c7dd4ab46a4850bd462729d1ea6be497.zip |
Various changes to allow for increased performance in the WebUI and in saving state, plus
a fix to import that keeps from creating extra yum repo entries for various distros.
Diffstat (limited to 'cobbler/api.py')
-rw-r--r-- | cobbler/api.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cobbler/api.py b/cobbler/api.py index 955c41d..2a51c1a 100644 --- a/cobbler/api.py +++ b/cobbler/api.py @@ -226,8 +226,11 @@ class BootAPI: """ return self._config.deserialize() - ## FIXME: would be nice to have functions to just deserialize - ## certain collections for efficiency in WUI calls. + def deserialize_raw(self,collection_name): + """ + Get the collection back just as raw data. + """ + return self._config.deserialize_raw(collection_name) if __name__ == "__main__": api = BootAPI() |