Fix posix discover by name typo/i'm a dummy error

This commit is contained in:
eblade 2008-10-26 06:09:29 -04:00
parent 103abdb961
commit a1c6fa1dc6

View File

@ -113,7 +113,7 @@ def discover_posix(c):
def discover_posix_by_name(c, tablename):
tables = discover_posix(c)
for t in tables:
if t.name.find(tablename) > -1:
if tables[t].name.find(tablename) > -1:
return t
return None