change stray stderr writes to logger.info on hub
This commit is contained in:
parent
47ec115355
commit
09f1b7d567
1 changed files with 2 additions and 2 deletions
|
|
@ -8172,10 +8172,10 @@ def importImageInternal(task_id, build_id, imgdata):
|
|||
q = """INSERT INTO archive_rpm_components (archive_id,rpm_id)
|
||||
VALUES (%(archive_id)i,%(rpm_id)i)"""
|
||||
for archive in archives:
|
||||
sys.stderr.write('working on archive %s' % archive)
|
||||
logger.info('working on archive %s', archive)
|
||||
if archive['filename'].endswith('xml'):
|
||||
continue
|
||||
sys.stderr.write('associating installed rpms with %s' % archive['id'])
|
||||
logger.info('associating installed rpms with %s', archive['id'])
|
||||
for rpm_id in rpm_ids:
|
||||
_dml(q, {'archive_id': archive['id'], 'rpm_id': rpm_id})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue