From 628f71cf3d34f0947feb70c5a64cf8c43b8fe32f Mon Sep 17 00:00:00 2001 From: eblade Date: Sun, 26 Oct 2008 06:49:47 -0400 Subject: [PATCH] fix return value for same function i just thought i fixed but didn't all the way --- pyfpdb/Tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/Tables.py b/pyfpdb/Tables.py index 6afbddea..a5090fd7 100644 --- a/pyfpdb/Tables.py +++ b/pyfpdb/Tables.py @@ -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 #