summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorroot <root@drwily.rdu.redhat.com>2007-09-05 20:30:12 -0400
committerroot <root@drwily.rdu.redhat.com>2007-09-05 20:30:12 -0400
commit1b9d1fde260f6d62cdaf7f0bea2948bd16f24e64 (patch)
tree1f79f94ebc5d0e2d998517c8f834bfef5582a065 /cobbler
parent5bee3dabb7782e5142c1dc915f0161f86819b60e (diff)
downloadthird_party-cobbler-1b9d1fde260f6d62cdaf7f0bea2948bd16f24e64.tar.gz
third_party-cobbler-1b9d1fde260f6d62cdaf7f0bea2948bd16f24e64.tar.xz
third_party-cobbler-1b9d1fde260f6d62cdaf7f0bea2948bd16f24e64.zip
Fix typing bug.
Diffstat (limited to 'cobbler')
-rw-r--r--cobbler/item_profile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/item_profile.py b/cobbler/item_profile.py
index e66b1d9..286e0d3 100644
--- a/cobbler/item_profile.py
+++ b/cobbler/item_profile.py
@@ -169,7 +169,7 @@ class Profile(item.Item):
# num is a non-negative integer (0 means default)
# can also be a comma seperated list -- for usage with multiple disks
- if num.find(",") != -1:
+ if type(num) == str and num.find(",") != -1:
tokens = num.split(",")
for t in tokens:
# hack to run validation on each