diff options
| author | Clark Williams <williams@redhat.com> | 2007-09-27 16:21:24 -0500 |
|---|---|---|
| committer | Clark Williams <williams@redhat.com> | 2007-09-27 16:21:24 -0500 |
| commit | eea354249bc437c1af2b2133fc6bc0d7533bf237 (patch) | |
| tree | 946d669a56e3e204af9ac973458bd565d0a23397 | |
| parent | 4c679d7734a2e1956555c12c5ac691ae034af1f7 (diff) | |
Modified resolvedep search string for BZ 303791
| -rw-r--r-- | mock.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -356,8 +356,8 @@ class Root: if arg_string != "": (retval, output) = self.yum('resolvedep %s' % arg_string) for line in output.split('\n'): - if line.find('No Package Found for') != -1: - errorpkg = line.replace('No Package Found for', '') + if line.find('No Package found for') != -1: + errorpkg = line.replace('No Package found for', '') error(output) raise BuildError, "Cannot find build req %s. Exiting." % errorpkg # nothing made us exit, so we continue |
