From b7b93408b0e4b3289cf13f31f97cc466f8e25668 Mon Sep 17 00:00:00 2001 From: Chaz Littlejohn Date: Wed, 6 Apr 2011 03:43:56 +0000 Subject: [PATCH] Commented out the printing in recreate_tables. Should think about undertaking an effort to remove all printing since everything important is logged anyways --- pyfpdb/Database.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index 5632cffe..2f9efa68 100644 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -524,12 +524,12 @@ class Database: except:# _mysql_exceptions.ProgrammingError: if database != ":memory:": if create: - print _("Failed to read settings table - recreating tables") + #print _("Failed to read settings table - recreating tables") log.info(_("Failed to read settings table - recreating tables")) self.recreate_tables() self.check_version(database=database, create=False) else: - print _("Failed to read settings table - please recreate tables") + #print _("Failed to read settings table - please recreate tables") log.info(_("Failed to read settings table - please recreate tables")) self.wrongDbVersion = True else: @@ -1250,7 +1250,7 @@ class Database: self.createAllIndexes() self.commit() self.get_sites() - print _("Finished recreating tables") + #print _("Finished recreating tables") log.info(_("Finished recreating tables")) #end def recreate_tables