summaryrefslogtreecommitdiffstats
path: root/cobbler/api.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-10-18 09:53:39 -0400
committerJim Meyering <jim@meyering.net>2006-10-18 09:53:39 -0400
commit99dc1148c07a92c0da60046da745f833627af5c1 (patch)
treeb211ac07f6e9dc872dcd200579b43e83238b10c4 /cobbler/api.py
parent0b7cb71f25fcce64e4af8226e69478d0ebc1c7dc (diff)
downloadthird_party-cobbler-99dc1148c07a92c0da60046da745f833627af5c1.tar.gz
third_party-cobbler-99dc1148c07a92c0da60046da745f833627af5c1.tar.xz
third_party-cobbler-99dc1148c07a92c0da60046da745f833627af5c1.zip
Serialize changes during imports, since NFS traversal is very slow.
Diffstat (limited to 'cobbler/api.py')
-rw-r--r--cobbler/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/api.py b/cobbler/api.py
index 0282c43..720bcbc 100644
--- a/cobbler/api.py
+++ b/cobbler/api.py
@@ -124,7 +124,7 @@ class BootAPI:
Imports either a tree (path) or mirror (ftp/http).
Mirror support really doesn't exist yet... TBA.
"""
- importer = action_import.Importer(self._config, tree_path, mirror_url, mirror_name)
+ importer = action_import.Importer(self, self._config, tree_path, mirror_url, mirror_name)
return importer.run()
def serialize(self):