summaryrefslogtreecommitdiffstats
path: root/cobbler/cobbler.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-10-19 14:09:53 -0400
committerMichael DeHaan <mdehaan@redhat.com>2007-10-19 14:09:53 -0400
commit8350279beec5475cb1e9eb17ff314ba24d18f6d6 (patch)
tree6c81f49893c10eeeb76c36878ac8cc8ba47816f6 /cobbler/cobbler.py
parent9f4ea453b260f0582fb04e6c1d20cf92daa497b7 (diff)
downloadthird_party-cobbler-8350279beec5475cb1e9eb17ff314ba24d18f6d6.tar.gz
third_party-cobbler-8350279beec5475cb1e9eb17ff314ba24d18f6d6.tar.xz
third_party-cobbler-8350279beec5475cb1e9eb17ff314ba24d18f6d6.zip
Pass with_copy to repo additions to ensure they are serialized in the new way we do serialization.
Diffstat (limited to 'cobbler/cobbler.py')
-rwxr-xr-xcobbler/cobbler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/cobbler.py b/cobbler/cobbler.py
index 879943d..5aea511 100755
--- a/cobbler/cobbler.py
+++ b/cobbler/cobbler.py
@@ -472,7 +472,7 @@ class BootCLI:
def on_ok():
if newname is not None:
repo.set_name(newname)
- self.api.repos().add(repo)
+ self.api.repos().add(repo, with_copy=True)
return self.apply_args(args,commands,on_ok)
def __distro_control(self,args,distro):