FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.

Bug #716792 reported by Clint Byrum
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
txAWS
New
Undecided
Unassigned

Bug Description

On python 2.7, txaws throws numerous warnings because of incompatibilities:

/usr/lib/pymodules/python2.7/txaws/ec2/client.py:223: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
  ip_permissions = group_info.find("ipPermissions") or []

/usr/lib/pymodules/python2.7/txaws/ec2/client.py:62: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
  if product_codes:

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.