s3cmd: FutureWarning (patch)

Bug #915484 reported by Adrian Bridgett
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
s3cmd (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

s3cmd info reports:

/usr/share/s3cmd/S3/CloudFront.py:129: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
  if not tree:

Attached patch resolves this for me.

Package: s3cmd
Version: 1.0.0-1

ii python2.7 2.7.2-5ubuntu1 An interactive high-level object-oriented language (version 2.7)

Tags: patch
Revision history for this message
Adrian Bridgett (adrian-bridgett) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "CloudFront.py.diff" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Stefano Rivera (stefanor) wrote :
Changed in s3cmd (Ubuntu):
status: New → Fix Released
importance: Undecided → Wishlist
importance: Wishlist → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.