[REF] multi: replace logging .warn( with .warning(

This commit is contained in:
Jared Kipe
2022-01-11 12:54:14 -08:00
committed by Leo Pinedo
parent 9f85a746f6
commit 8ca5688a71

View File

@@ -418,7 +418,7 @@ class ProviderStamps(models.Model):
customs=customs)
package_labels.append((txn_id, label))
except WebFault as e:
_logger.warn(e)
_logger.warning(e)
if package_labels:
for name, label in package_labels:
body = _(u'Cancelling due to error: ', label.TrackingNumber)