Package list python-castellan / cf5ffc5
Replace LOG.warn with LOG.warning logging.warn is deprecated in Python 3 [1]. [1] https://docs.python.org/3/library/logging.html#logging.warning Change-Id: Iecf3ba100fb896189c8da0fc69da3f4b86345fb2 yushangbin 4 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
608608 except (barbican_exceptions.HTTPAuthError,
609609 barbican_exceptions.HTTPClientError,
610610 barbican_exceptions.HTTPServerError) as e:
611 LOG.warn(_("Error occurred while retrieving object metadata,"
612 " not adding it to the list: %s"), e)
611 LOG.warning(_("Error occurred while retrieving object "
612 "metadata, not adding it to the list: %s"), e)
613613
614614 return objects