~ubuntu-branches/ubuntu/wily/python-boto/wily-proposed

« back to all changes in this revision

Viewing changes to boto/route53/hostedzone.py

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-07-09 16:11:38 UTC
  • mfrom: (19.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20150709161138-1tiv60tdcbnpex33
Tags: 2.38.0-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  * d/tests/unit: Fix autopkgtest error in test_timeout.
  * d/tests/unit: run tests/test.py with each python in 'pyversions -i'

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
class HostedZone(object):
27
27
 
28
28
    def __init__(self, id=None, name=None, owner=None, version=None,
29
 
                 caller_reference=None, config=None):
 
29
                 caller_reference=None):
30
30
        self.id = id
31
31
        self.name = name
32
32
        self.owner = owner
33
33
        self.version = version
34
34
        self.caller_reference = caller_reference
35
 
        self.config = config
36
35
 
37
36
    def startElement(self, name, attrs, connection):
38
 
        if name == 'Config':
39
 
            self.config = Config()
40
 
            return self.config
41
 
        else:
42
 
            return None
 
37
        return None
43
38
 
44
39
    def endElement(self, name, value, connection):
45
40
        if name == 'Id':