Public bug reported:

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)

** Affects: s3cmd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/915484

Title:
  s3cmd: FutureWarning (patch)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s3cmd/+bug/915484/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to