Remove a dict.has_key() use to silence a warning when running under -3.

This commit is contained in:
Brett Cannon 2008-08-02 03:32:13 +00:00
parent 926779e758
commit 0d89407a0d
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ class dispatcher:
fd = self._fileno
if map is None:
map = self._map
if map.has_key(fd):
if fd in map:
#self.log_info('closing channel %d:%s' % (fd, self))
del map[fd]
self._fileno = None