From acfc110d0378ef90b159c896f5aab657a72cdb5e Mon Sep 17 00:00:00 2001 From: steffen123 Date: Mon, 23 Aug 2010 07:28:30 +0200 Subject: [PATCH] remove remaining calls to removed config section --- pyfpdb/AlchemyTables.py | 1 - pyfpdb/GuiAutoImport.py | 1 - pyfpdb/GuiBulkImport.py | 1 - pyfpdb/GuiPositionalStats.py | 1 - pyfpdb/GuiRingPlayerStats.py | 1 - pyfpdb/GuiSessionViewer.py | 1 - pyfpdb/TestHandsPlayers.py | 2 +- pyfpdb/test_Betfair.py | 1 - pyfpdb/test_PokerStars.py | 1 - 9 files changed, 1 insertion(+), 9 deletions(-) diff --git a/pyfpdb/AlchemyTables.py b/pyfpdb/AlchemyTables.py index c74665b1..e89380a7 100644 --- a/pyfpdb/AlchemyTables.py +++ b/pyfpdb/AlchemyTables.py @@ -450,7 +450,6 @@ def sss(): self.settings['os']="windows" self.settings.update(self.config.get_db_parameters()) - self.settings.update(self.config.get_tv_parameters()) self.settings.update(self.config.get_import_parameters()) self.settings.update(self.config.get_default_paths()) diff --git a/pyfpdb/GuiAutoImport.py b/pyfpdb/GuiAutoImport.py index 1d4c2053..c386f475 100755 --- a/pyfpdb/GuiAutoImport.py +++ b/pyfpdb/GuiAutoImport.py @@ -334,7 +334,6 @@ if __name__== "__main__": else: settings['os'] = 'linuxmac' settings.update(config.get_db_parameters('fpdb')) - settings.update(config.get_tv_parameters()) settings.update(config.get_import_parameters()) settings.update(config.get_default_paths()) diff --git a/pyfpdb/GuiBulkImport.py b/pyfpdb/GuiBulkImport.py index dc023e01..943a81fd 100755 --- a/pyfpdb/GuiBulkImport.py +++ b/pyfpdb/GuiBulkImport.py @@ -378,7 +378,6 @@ def main(argv=None): else: settings['os'] = 'linuxmac' settings.update(config.get_db_parameters()) - settings.update(config.get_tv_parameters()) settings.update(config.get_import_parameters()) settings.update(config.get_default_paths()) diff --git a/pyfpdb/GuiPositionalStats.py b/pyfpdb/GuiPositionalStats.py index 4963a88f..2f7c36cc 100644 --- a/pyfpdb/GuiPositionalStats.py +++ b/pyfpdb/GuiPositionalStats.py @@ -53,7 +53,6 @@ class GuiPositionalStats (threading.Thread): settings = {} settings.update(self.conf.get_db_parameters()) - settings.update(self.conf.get_tv_parameters()) settings.update(self.conf.get_import_parameters()) settings.update(self.conf.get_default_paths()) diff --git a/pyfpdb/GuiRingPlayerStats.py b/pyfpdb/GuiRingPlayerStats.py index 081e1b70..ef519290 100644 --- a/pyfpdb/GuiRingPlayerStats.py +++ b/pyfpdb/GuiRingPlayerStats.py @@ -69,7 +69,6 @@ class GuiRingPlayerStats (GuiPlayerStats.GuiPlayerStats): settings = {} settings.update(self.conf.get_db_parameters()) - settings.update(self.conf.get_tv_parameters()) settings.update(self.conf.get_import_parameters()) settings.update(self.conf.get_default_paths()) diff --git a/pyfpdb/GuiSessionViewer.py b/pyfpdb/GuiSessionViewer.py index 56df5e78..d4ffaccc 100755 --- a/pyfpdb/GuiSessionViewer.py +++ b/pyfpdb/GuiSessionViewer.py @@ -82,7 +82,6 @@ class GuiSessionViewer (threading.Thread): settings = {} settings.update(self.conf.get_db_parameters()) - settings.update(self.conf.get_tv_parameters()) settings.update(self.conf.get_import_parameters()) settings.update(self.conf.get_default_paths()) diff --git a/pyfpdb/TestHandsPlayers.py b/pyfpdb/TestHandsPlayers.py index a49cd88b..6179e11d 100644 --- a/pyfpdb/TestHandsPlayers.py +++ b/pyfpdb/TestHandsPlayers.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- import sys import os import codecs @@ -76,7 +77,6 @@ def main(argv=None): sql = SQL.Sql(db_server = 'sqlite') settings = {} settings.update(config.get_db_parameters()) - settings.update(config.get_tv_parameters()) settings.update(config.get_import_parameters()) settings.update(config.get_default_paths()) db.recreate_tables() diff --git a/pyfpdb/test_Betfair.py b/pyfpdb/test_Betfair.py index 231b1bf3..aba5655b 100644 --- a/pyfpdb/test_Betfair.py +++ b/pyfpdb/test_Betfair.py @@ -30,7 +30,6 @@ sql = SQL.Sql(db_server = 'sqlite') settings = {} settings.update(config.get_db_parameters()) -settings.update(config.get_tv_parameters()) settings.update(config.get_import_parameters()) settings.update(config.get_default_paths()) diff --git a/pyfpdb/test_PokerStars.py b/pyfpdb/test_PokerStars.py index 5178adef..5824c471 100755 --- a/pyfpdb/test_PokerStars.py +++ b/pyfpdb/test_PokerStars.py @@ -30,7 +30,6 @@ sql = SQL.Sql(db_server = 'sqlite') settings = {} settings.update(config.get_db_parameters()) -settings.update(config.get_tv_parameters()) settings.update(config.get_import_parameters()) settings.update(config.get_default_paths())