"""Boto/botocore helpers"""

import six

from scrapy.exceptions import NotConfigured


def is_botocore():
    try:
        import botocore
        return True
    except ImportError:
        if six.PY2:
            try:
                import boto
                return False
            except ImportError:
                raise NotConfigured('missing botocore or boto library')
        else:
            raise NotConfigured('missing botocore library')

@@ -22,16 +22,55 @@
 ers%22%22%22%0A%0A
+from __future__ import absolute_import%0A
 import s

use absolute_import to import external boto package