Get rid of obsolete import of obsolete Tables.py.

This commit is contained in:
Eratosthenes 2010-08-26 22:47:30 -04:00 committed by Worros
parent bbb21b4b4d
commit f5db60f23b

View File

@ -55,7 +55,6 @@ else:
def _(string): return string def _(string): return string
# FreePokerTools modules # FreePokerTools modules
import Tables # needed for testing only
import Configuration import Configuration
import Stats import Stats
import Mucked import Mucked
@ -941,26 +940,3 @@ class Popup_window:
# window.present() # window.present()
if __name__== "__main__":
main_window = gtk.Window()
main_window.connect("destroy", destroy)
label = gtk.Label(_('Fake main window, blah blah, blah\nblah, blah'))
main_window.add(label)
main_window.show_all()
c = Configuration.Config()
#tables = Tables.discover(c)
t = Tables.discover_table_by_name(c, "Corona")
if t is None:
print _("Table not found.")
db = Database.Database(c, 'fpdb', 'holdem')
stat_dict = db.get_stats_from_hand(1)
# for t in tables:
win = Hud(None, t, 10, 'holdem', c, db) # parent, table, max, poker_game, config, db_connection
win.create(1, c, stat_dict, None) # hand, config, stat_dict, cards):
# t.get_details()
win.update(8300, c) # self, hand, config):
gtk.main()