diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2006-05-08 11:42:41 -0400 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-05-08 11:42:41 -0400 |
commit | 038a4383ccb6230f927960a34288c5cf6fbd3455 (patch) | |
tree | c7264ec2a325ed8d74c260b31111df934a87960f /cobbler/item_profile.py | |
parent | fde48f2d1dc6412a0e9e483da8d197fd8c5d8e53 (diff) | |
download | third_party-cobbler-038a4383ccb6230f927960a34288c5cf6fbd3455.tar.gz third_party-cobbler-038a4383ccb6230f927960a34288c5cf6fbd3455.tar.xz third_party-cobbler-038a4383ccb6230f927960a34288c5cf6fbd3455.zip |
More pychecker. More comments.
Diffstat (limited to 'cobbler/item_profile.py')
-rw-r--r-- | cobbler/item_profile.py | 2 |
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 |