~ubuntu-branches/ubuntu/vivid/swift/vivid-updates

« back to all changes in this revision

Viewing changes to swift/common/middleware/cname_lookup.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2015-02-09 13:40:34 UTC
  • mfrom: (1.2.35)
  • Revision ID: package-import@ubuntu.com-20150209134034-jt7pmwbn23gclq9e
Tags: 2.2.2-0ubuntu1
* New upstream release. 
* debian/patches/fixup-32bit-max-file-size.patch: Dropped no longer needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
        port = ''
116
116
        if ':' in given_domain:
117
117
            given_domain, port = given_domain.rsplit(':', 1)
118
 
        if given_domain == self.storage_domain[1:]:  # strip initial '.'
119
 
            return self.app(env, start_response)
120
118
        if is_ip(given_domain):
121
119
            return self.app(env, start_response)
122
120
        a_domain = given_domain