Project

Profile

Help

Issue #2599

closed

Deprecation warning in the logs during errata migration

Added by ttereshc almost 8 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Low
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.12.2
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Sprint 15
Quarter:

Description

Reported by klaas__ via IRC aka here. Thanks!

Errata migration throws deprecation warning:

/usr/lib/python2.7/site-packages/pulp_rpm/plugins/migrations/0038_errata_pkglist_duplicates_cleanup.py:48: DeprecationWarning: update is deprecated. Use replace_one, update_one or update_many instead.
{'$set': {'pkglist': new_pkglist}})

Related issues

Related to RPM Support - Issue #2568: DocumentTooLarge error during merge of errata pkglistsCLOSED - CURRENTRELEASEttereshcActions

Also available in: Atom PDF