From 2ad59c4e732d5c50fb022c3a1d1872e40ffcef84 Mon Sep 17 00:00:00 2001 From: Chris Moore Date: Tue, 24 May 2011 15:31:52 -0700 Subject: [PATCH] These are the last 4 files in pyfpdb/ with TAB characters. Replace the tabs with spaces. --- pyfpdb/HUD_config.test.xml | 167 ++++++++++++++++++++++----------------------- pyfpdb/Hand.py | 2 +- pyfpdb/Hud.py | 4 +- pyfpdb/IdentifySite.py | 3 +- 4 files changed, 84 insertions(+), 92 deletions(-) diff --git a/pyfpdb/HUD_config.test.xml b/pyfpdb/HUD_config.test.xml index f7b144ab..bdf29159 100644 --- a/pyfpdb/HUD_config.test.xml +++ b/pyfpdb/HUD_config.test.xml @@ -101,7 +101,7 @@ hero_stat_days : - a numeric value - - if hero_stat_range is set to 'T', this value tells how many days are + - if hero_stat_range is set to 'T', this value tells how many days are included in the stat calculation - defaults to 30 - value not used by default as it depends on hero_stat_range setting @@ -122,7 +122,7 @@ - if value is M, stats for blind levels are combined if the higher level is less than or equal to M times the lower blind level - defaults to 1, meaning only stats from current blind level are included - - e.g. if set to 3 and current big blind is 50, stats for blind levels from + - e.g. if set to 3 and current big blind is 50, stats for blind levels from 16.7 (50 divided by 3) to big blind of 150 (50 times 3) are included --> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - @@ -709,47 +703,47 @@ Left-Drag to Move" - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + @@ -787,7 +781,6 @@ Left-Drag to Move" - @@ -893,7 +886,7 @@ Left-Drag to Move" - + @@ -901,5 +894,5 @@ Left-Drag to Move" - diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index a6ba6430..493a0218 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -937,7 +937,7 @@ class HoldemOmahaHand(Hand): if len(cards) in (2, 4): # avoid adding board by mistake (Everleaf problem) self.addHoleCards('PREFLOP', player, open=[], closed=cards, shown=shown, mucked=mucked, dealt=dealt) elif len(cards) == 5: # cards holds a winning hand, not hole cards - # filter( lambda x: x not in b, a ) # calcs a - b where a and b are lists + # filter( lambda x: x not in b, a ) # calcs a - b where a and b are lists # so diff is set to the winning hand minus the board cards, if we're lucky that leaves the hole cards diff = filter( lambda x: x not in self.board['FLOP']+self.board['TURN']+self.board['RIVER'], cards ) if len(diff) == 2 and self.gametype['category'] in ('holdem'): diff --git a/pyfpdb/Hud.py b/pyfpdb/Hud.py index 27c1d841..b80b00b4 100644 --- a/pyfpdb/Hud.py +++ b/pyfpdb/Hud.py @@ -113,7 +113,7 @@ class Hud: self.creation_attrs = None - # Set up a main window for this this instance of the HUD + # Set up a main window for this this instance of the HUD def create_mw(self): win = gtk.Window() win.set_skip_taskbar_hint(True) # invisible to taskbar @@ -703,7 +703,7 @@ class Hud: if this_stat.hudcolor != "": window.label[r][c].modify_fg(gtk.STATE_NORMAL, gtk.gdk.color_parse(this_stat.hudcolor)) else: - window.label[r][c].modify_fg(gtk.STATE_NORMAL, gtk.gdk.color_parse(self.colors['hudfgcolor'])) + window.label[r][c].modify_fg(gtk.STATE_NORMAL, gtk.gdk.color_parse(self.colors['hudfgcolor'])) if this_stat.stat_loth != "": if number[0] < (float(this_stat.stat_loth)/100): diff --git a/pyfpdb/IdentifySite.py b/pyfpdb/IdentifySite.py index c5cf42b6..08d7713f 100755 --- a/pyfpdb/IdentifySite.py +++ b/pyfpdb/IdentifySite.py @@ -136,7 +136,6 @@ def main(argv=None): for file, site in IdSite.filelist.iteritems(): print file, site print "----------- END ID REGRESSION FILES -----------" - - + if __name__ == '__main__': sys.exit(main()) -- 2.11.4.GIT