Changeset 6160

Show
Ignore:
Timestamp:
01/29/13 17:45:49 (6 years ago)
Author:
justinc
Message:

better var name. Wow! Why did we think shadowing socket was a good idea?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • seattle/branches/repy_v2/repy/emulcomm.py

    r5159 r6160  
    19631963      # socket was closed/re-opened or that it was set to None, 
    19641964      # etc. 
    1965       socket = self.socketobj 
    1966       if socket is None: 
     1965      mysocketobj = self.socketobj 
     1966      if mysocketobj is None: 
    19671967        raise KeyError # Indicates socket is closed 
    19681968 
    19691969      # Try to get a message of any size.   (64K is the max that fits in the  
    19701970      # UDP header) 
    1971       message, addr = socket.recvfrom(65535) 
     1971      message, addr = mysocketobj.recvfrom(65535) 
    19721972      remote_ip, remote_port = addr 
    19731973