Changeset 42:e457e1a75aad in livinglogic.python.tipimaid

Show
Ignore:
Timestamp:
12/17/08 19:46:20 (11 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Whitespace, tuple unpacking.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • liaalh_server.py

    r41 r42  
    66input = [] 
    77sockets = [] 
    8 for res in socket.getaddrinfo(None, port, socket.AF_UNSPEC, socket.SOCK_STREAM, 0, socket.AI_PASSIVE): 
    9     af, socktype, proto, canonname, sa = res 
     8for (af, socktype, proto, canonname, sa) in socket.getaddrinfo(None, port, socket.AF_UNSPEC, socket.SOCK_STREAM, 0, socket.AI_PASSIVE): 
    109    try: 
    1110        s = socket.socket(af, socktype, proto) 
     
    2827 
    2928while running: 
    30     inputready,outputready,exceptready = select.select(input,[],[],60) 
     29    (inputready, outputready, exceptready) = select.select(input, [], [], 60) 
    3130    for s in inputready: 
    3231        if s in sockets: