Fix return type of tables_by_name discovery for posix
This commit is contained in:
parent
f48c33f580
commit
a1499db849
|
@ -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
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user