diff options
author | mdehaan@mdehaan.rdu.redhat.com <> | 2006-12-18 17:44:15 -0500 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-12-18 17:44:15 -0500 |
commit | 0995f46edb613b6b20fe229b1765b397a2944e8c (patch) | |
tree | c8b559e146a7de76ea163ea5359d01bdd885de52 | |
parent | d04b579ba1f5f0b6f8978cf1a6f07b5b44f39f7a (diff) | |
download | cobbler-0995f46edb613b6b20fe229b1765b397a2944e8c.tar.gz cobbler-0995f46edb613b6b20fe229b1765b397a2944e8c.tar.xz cobbler-0995f46edb613b6b20fe229b1765b397a2944e8c.zip |
Typo.
-rw-r--r-- | cobbler/action_sync.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py index 152d0288..acba7435 100644 --- a/cobbler/action_sync.py +++ b/cobbler/action_sync.py @@ -295,7 +295,7 @@ class BootSync: # will replace "TEMPLATE::yum_repo_stanza" in a cobbler kickstart file. buf = "" repos = profile.repos - if type(profile.repos) == str: + if type(repos) == str: repos = repos.split(" ") for r in repos: repo = self.repos.find(r) @@ -308,7 +308,7 @@ class BootSync: def generate_config_stanza(self, profile): # returns the line in post that would configure yum to use repos added with "cobbler repo add" repos = profile.repos - if type(profiles.repos) == str: + if type(repos) == str: repos = repos.split(" ") buf = "" for r in repos: |