From c57ccbfb80d1e12d6af94ae51ac9e85699cfcdfd Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Fri, 7 Dec 2007 16:33:48 +0000 Subject: [PATCH] if no tables dont search fkeys --- python/londiste/setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/londiste/setup.py b/python/londiste/setup.py index 9095b41f..057e1a9f 100644 --- a/python/londiste/setup.py +++ b/python/londiste/setup.py @@ -337,6 +337,9 @@ class SubscriberSetup(CommonSetup): 'active' : "select %s from londiste.find_table_%s(%%s)"} table_list = self.clean_subscriber_tables(table_list) + if len(table_list) == 0: + self.log.info("No tables, no fkeys") + return dst_db = self.get_database('subscriber_db') dst_curs = dst_db.cursor() -- 2.39.5