fix return value for same function i just thought i fixed but didn't all the way
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ def discover_posix_by_name(c, tablename):
|
|||||||
tables = discover_posix(c)
|
tables = discover_posix(c)
|
||||||
for t in tables:
|
for t in tables:
|
||||||
if tables[t].name.find(tablename) > -1:
|
if tables[t].name.find(tablename) > -1:
|
||||||
return t
|
return tables[t]
|
||||||
return None
|
return None
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user