Merge "Remove Python 2.4 compatability for all()"

This commit is contained in:
Jenkins 2014-08-26 06:07:11 +00:00 committed by Gerrit Code Review
commit 2af0656bf9

View File

@ -17,13 +17,6 @@
Base utilities to build API operation managers and objects on top of.
"""
# Python 2.4 compat
try:
all
except NameError:
def all(iterable):
return True not in (not x for x in iterable)
def getid(obj):
"""Abstracts the common pattern of allowing both an object or an