We still support Python 2.5 which doesn't support second argument (`start`) to `enumerate` function so you need to do it like this - https://github.com/zerthimon/libcloud/blob/LIBCLOUD-554_filters/libcloud/compute/drivers/ec2.py#L4307