diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-10-19 14:09:53 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-10-19 14:09:53 -0400 |
commit | 8350279beec5475cb1e9eb17ff314ba24d18f6d6 (patch) | |
tree | 6c81f49893c10eeeb76c36878ac8cc8ba47816f6 /cobbler/cobbler.py | |
parent | 9f4ea453b260f0582fb04e6c1d20cf92daa497b7 (diff) | |
download | third_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-x | cobbler/cobbler.py | 2 |
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): |