Commit b3c69bea authored by Tim Lauridisen's avatar Tim Lauridisen

a my.errorlog -> logger.error fix by Andreas Hanke

parent 98a138cc
......@@ -104,7 +104,7 @@ def main():
exactmatch, matched, unmatched = parsePackages(avail, [pkg])
installable = yum.misc.unique(exactmatch + matched)
if len(unmatched) > 0: # if we get back anything in unmatched, it fails
my.errorlog(0, 'No Match for argument %s' % pkg)
logger.error('No Match for argument %s' % pkg)
continue
for newpkg in installable:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment