summaryrefslogtreecommitdiffstats
path: root/cobbler/item_profile.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/item_profile.py')
-rw-r--r--cobbler/item_profile.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cobbler/item_profile.py b/cobbler/item_profile.py
index 4709479..9fd308a 100644
--- a/cobbler/item_profile.py
+++ b/cobbler/item_profile.py
@@ -134,6 +134,8 @@ class Profile(item.Item):
'true'/'false' in all cases, or Python True/False.
"""
# truthiness needs to be True or False, or (lcased) string equivalents
+ # yes, we *do* want to explicitly test against True/False
+ # the string "foosball" is True, and that is not a valid argument for this function
try:
if (truthiness == False or truthiness.lower() == 'false'):
self.xen_paravirt = False