Changeset 1581
- Timestamp:
- 10/29/08 20:09:54 (2 months ago)
- Files:
-
- branches/0.4.7/lib/cxcore/cxcore/cxnetlink.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/0.4.7/lib/cxcore/cxcore/cxnetlink.py
r1578 r1581 202 202 203 203 return result 204 205 def getCache(self,host,types=[zeroconf._TYPE_A, zeroconf._TYPE_SRV, zeroconf._TYPE_TXT]): 206 e = self.server.cache.entriesWithName(host) 207 r = [] 208 for i in e: 209 if i.type in types: 210 r.append(i) 211 return r 204 212 205 213 def lookup(self,host,domain=None,types=[zeroconf._TYPE_A, zeroconf._TYPE_SRV],nowait=False):
