On 08/12/2009 10:43 PM, Peter Halliday wrote:
---
cobbler/action_check.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cobbler/action_check.py b/cobbler/action_check.py
index e6799ce..bf1f4a9 100644
--- a/cobbler/action_check.py
+++ b/cobbler/action_check.py
@@ -126,7 +126,7 @@ class BootCheck:
status.append(_("reposync is not installed, need for cobbler reposync,
install/upgrade yum-utils?"))
if not os.path.exists("/usr/bin/yumdownloader"):
status.append(_("yumdownloader is not installed, needed for cobbler
repo add with --rpm-list parameter, install/upgrade yum-utils?"))
- if self.settings.yumreposync_flags.find("\-l"):
+ if self.settings.yumreposync_flags.find("-l"):
if self.checked_dist == "redhat" or self.checked_dist ==
"suse":
yum_utils_check = sub_process.Popen("/usr/bin/rpmquery
--queryformat=%{VERSION} yum-utils", shell=True, close_fds=True,
stdout=sub_process.PIPE)
yum_utils_ver = yum_utils_check.communicate()[0]
Hit a merge conflict, though I've removed the "\" manually, thanks.
--Michael