summaryrefslogtreecommitdiffstats
path: root/cobbler/item_profile.py
diff options
context:
space:
mode:
authormdehaan@mdehaan.rdu.redhat.com <>2006-12-20 12:23:53 -0500
committerJim Meyering <jim@meyering.net>2006-12-20 12:23:53 -0500
commit7e3aafc03785e709c361f278e75f280debafbe14 (patch)
tree31f6113306a9054c4268495da37c5f758e5f93e1 /cobbler/item_profile.py
parent75e98c071df3a4a06354f2b2b8c48cb14e8592e3 (diff)
downloadthird_party-cobbler-7e3aafc03785e709c361f278e75f280debafbe14.tar.gz
third_party-cobbler-7e3aafc03785e709c361f278e75f280debafbe14.tar.xz
third_party-cobbler-7e3aafc03785e709c361f278e75f280debafbe14.zip
Keep repo representation as strings.
Also, add trailing / to rsync URL's to always to prevent user mistakes, which allows us to know where the repomd data files are.
Diffstat (limited to 'cobbler/item_profile.py')
-rw-r--r--cobbler/item_profile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/item_profile.py b/cobbler/item_profile.py
index 038c84b..a406c2e 100644
--- a/cobbler/item_profile.py
+++ b/cobbler/item_profile.py
@@ -39,7 +39,7 @@ class Profile(item.Item):
self.virt_file_size = 5 # GB. 5 = Decent _minimum_ default for FC5.
self.virt_ram = 512 # MB. Install with 256 not likely to pass
self.virt_paravirt = True # hvm support is *NOT* in Koan (now)
- self.repos = [] # names of cobbler repo definitions
+ self.repos = "" # names of cobbler repo definitions
def from_datastruct(self,seed_data):
"""
@@ -80,7 +80,7 @@ class Profile(item.Item):
ok = False
break
if ok:
- self.repos = repolist
+ self.repos = repos
else:
raise cexceptions.CobblerException("no_repos")