summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-05 16:35:16 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-05 16:35:16 -0400
commit674b523dd71d0bfe88cc600aa122f6a22e7b64a7 (patch)
tree6fd157539acdfeeaccb45e1cb87309388e6ed76b /cobbler
parent69cd6adec522e73a52a2c0f3aac70401f92adc9f (diff)
parentbcc26a2ec49cfd3b151077f34270248ac24dd0b3 (diff)
downloadthird_party-cobbler-674b523dd71d0bfe88cc600aa122f6a22e7b64a7.tar.gz
third_party-cobbler-674b523dd71d0bfe88cc600aa122f6a22e7b64a7.tar.xz
third_party-cobbler-674b523dd71d0bfe88cc600aa122f6a22e7b64a7.zip
Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/cobbler
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