summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorScott Henson <shenson@redhat.com>2009-08-21 21:02:41 -0400
committerScott Henson <shenson@redhat.com>2009-08-21 21:02:41 -0400
commit5570de650f79a7a6548257d6932228a88d97a567 (patch)
tree44b6429b1312fe548d63aa5f183fb48f5ad4ae94 /cobbler
parent18637d8d6ba7c7a964d28fac5fe0a7bc9842cc97 (diff)
downloadcobbler-5570de650f79a7a6548257d6932228a88d97a567.tar.gz
cobbler-5570de650f79a7a6548257d6932228a88d97a567.tar.xz
cobbler-5570de650f79a7a6548257d6932228a88d97a567.zip
No
Diffstat (limited to 'cobbler')
-rw-r--r--cobbler/action_replicate.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cobbler/action_replicate.py b/cobbler/action_replicate.py
index 6aeba65c..180e4f27 100644
--- a/cobbler/action_replicate.py
+++ b/cobbler/action_replicate.py
@@ -229,7 +229,8 @@ class Replicate:
for p in self.must_include["profile"].keys():
distro = self.remote_dict["profile"][p].get("distro","")
self.logger.info("Adding repo %s for profile %s."%(p, distro))
- self.must_include["distro"][distro] = 1
+ if not distro == "<<inherit>>" and not distro == "~":
+ self.must_include["distro"][distro] = 1
# require any repos that any profiles in the generated list requires
# whether they are explicitly included or not