~ubuntu-branches/ubuntu/precise/bittornado/precise

« back to all changes in this revision

Viewing changes to BitTornado/SocketHandler.py

  • Committer: Barry Warsaw
  • Date: 2011-08-10 23:17:46 UTC
  • mfrom: (7.1.1 bittornado)
  • Revision ID: barry@python.org-20110810231746-5buiob6p54m266s8
Tags: 0.3.18-10ubuntu2
* switch to dh_python2 (LP: #788514)
  - install btmakemetafile.py and btcompletedir.py via pyinstall
  - add build depend on python-all
  - bump debhelper depend to 7 for dh_auto_install

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
        else:
167
167
            if self.ipv6_enable:
168
168
                addrinfos.append([socket.AF_INET6, None, None, None, ('', port)])
169
 
            if not addrinfos or ipv6_socket_style != 0:
 
169
            if not addrinfos or ipv6_socket_style == 0:
170
170
                addrinfos.append([socket.AF_INET, None, None, None, ('', port)])
171
171
        for addrinfo in addrinfos:
172
172
            try: