Fix return type of tables_by_name discovery for posix

This commit is contained in:
Worros 2008-10-26 20:13:30 +09:00
parent f48c33f580
commit a1499db849

View File

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