summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-02-12 16:59:25 -0500
committerJim Meyering <jim@meyering.net>2007-02-12 16:59:25 -0500
commit16202b072277b1f1e1578a555fe3040b82631f71 (patch)
tree3e3450793753b9d24d06e1f92c0c5b3663ad22e2 /cobbler
parentb6e92545918c47aee85bcce3351522229a3bf5f9 (diff)
downloadthird_party-cobbler-16202b072277b1f1e1578a555fe3040b82631f71.tar.gz
third_party-cobbler-16202b072277b1f1e1578a555fe3040b82631f71.tar.xz
third_party-cobbler-16202b072277b1f1e1578a555fe3040b82631f71.zip
Kickstart metadata variable can't be None.
Diffstat (limited to 'cobbler')
-rw-r--r--cobbler/item.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cobbler/item.py b/cobbler/item.py
index 7f7335e..01392ec 100644
--- a/cobbler/item.py
+++ b/cobbler/item.py
@@ -40,6 +40,8 @@ class Item(serializable.Serializable):
The meta tags are used as input to the templating system
to preprocess kickstart files
"""
+ if options_string is None:
+ options_string = ""
self.ks_meta = options_string
tokens = self.ks_meta.split(",")
for t in tokens: