From bf93184a0f6d3278b97d6af72d7985192dd2abd7 Mon Sep 17 00:00:00 2001 From: Nick Tarleton Date: Fri, 1 Apr 2011 22:08:49 -0700 Subject: [PATCH] Fix relative imports --- boto/emr/__init__.py | 6 +++--- boto/file/__init__.py | 6 +++--- boto/iam/__init__.py | 6 +++--- boto/route53/__init__.py | 2 +- boto/ses/__init__.py | 2 +- boto/sns/__init__.py | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/boto/emr/__init__.py b/boto/emr/__init__.py index 3c33f9a092..cbe68cb39b 100644 --- a/boto/emr/__init__.py +++ b/boto/emr/__init__.py @@ -23,8 +23,8 @@ This module provies an interface to the Elastic MapReduce (EMR) service from AWS. """ -from connection import EmrConnection -from step import Step, StreamingStep, JarStep -from bootstrap_action import BootstrapAction +from boto.emr.connection import EmrConnection +from boto.emr.step import Step, StreamingStep, JarStep +from boto.emr.bootstrap_action import BootstrapAction diff --git a/boto/file/__init__.py b/boto/file/__init__.py index 0210b47c6e..837a164f47 100755 --- a/boto/file/__init__.py +++ b/boto/file/__init__.py @@ -21,8 +21,8 @@ import boto -from connection import FileConnection as Connection -from key import Key -from bucket import Bucket +from boto.file.connection import FileConnection as Connection +from boto.file.key import Key +from boto.file.bucket import Bucket __all__ = ['Connection', 'Key', 'Bucket'] diff --git a/boto/iam/__init__.py b/boto/iam/__init__.py index 498d736b12..1397a99e65 100644 --- a/boto/iam/__init__.py +++ b/boto/iam/__init__.py @@ -22,6 +22,6 @@ # this is here for backward compatibility # originally, the IAMConnection class was defined here -from connection import IAMConnection - - +from boto.iam.connection import IAMConnection + + diff --git a/boto/route53/__init__.py b/boto/route53/__init__.py index d404bc73f2..cc0ce80c6c 100644 --- a/boto/route53/__init__.py +++ b/boto/route53/__init__.py @@ -23,4 +23,4 @@ # this is here for backward compatibility # originally, the Route53Connection class was defined here -from connection import Route53Connection +from boto.route53.connection import Route53Connection diff --git a/boto/ses/__init__.py b/boto/ses/__init__.py index 167080b9b3..a90945948c 100644 --- a/boto/ses/__init__.py +++ b/boto/ses/__init__.py @@ -20,5 +20,5 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. -from connection import SESConnection +from boto.ses.connection import SESConnection diff --git a/boto/sns/__init__.py b/boto/sns/__init__.py index 9c5a7d747c..23d5bd8182 100644 --- a/boto/sns/__init__.py +++ b/boto/sns/__init__.py @@ -22,4 +22,4 @@ # this is here for backward compatibility # originally, the SNSConnection class was defined here -from connection import SNSConnection +from boto.sns.connection import SNSConnection