summaryrefslogtreecommitdiffstats
path: root/cobbler/collection_distros.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-05-08 10:22:09 -0400
committerJim Meyering <jim@meyering.net>2006-05-08 10:22:09 -0400
commit643cf0d5bb69f2933cc88f03ccf288ed0eb52e42 (patch)
treeaea2d041aed77e96ff5c890ad0216c98fc0d42bd /cobbler/collection_distros.py
parentfc086c72640c3f8f51f9a07b76387647fb683025 (diff)
downloadthird_party-cobbler-643cf0d5bb69f2933cc88f03ccf288ed0eb52e42.tar.gz
third_party-cobbler-643cf0d5bb69f2933cc88f03ccf288ed0eb52e42.tar.xz
third_party-cobbler-643cf0d5bb69f2933cc88f03ccf288ed0eb52e42.zip
Unit tests pass again.
Diffstat (limited to 'cobbler/collection_distros.py')
-rw-r--r--cobbler/collection_distros.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/collection_distros.py b/cobbler/collection_distros.py
index 03a1557..e700727 100644
--- a/cobbler/collection_distros.py
+++ b/cobbler/collection_distros.py
@@ -10,8 +10,8 @@ and initrd files
"""
class Distros(collection.Collection):
- def factory_produce(self,config):
- return distro.Distro(config)
+ def factory_produce(self,config,seed_data):
+ return distro.Distro(config).from_datastruct(seed_data)
def filename(self):
return "/var/lib/cobbler/distros"