Stove: Remove unnecessary returns
This commit is contained in:
parent
775b19e7d5
commit
07fc254cdb
|
@ -47,7 +47,6 @@ class Stove:
|
||||||
board.b3 = b[2]
|
board.b3 = b[2]
|
||||||
|
|
||||||
self.board = board
|
self.board = board
|
||||||
return board
|
|
||||||
|
|
||||||
def set_hero_cards_string(self, string):
|
def set_hero_cards_string(self, string):
|
||||||
# Our pocket cards
|
# Our pocket cards
|
||||||
|
@ -56,7 +55,6 @@ class Stove:
|
||||||
c2 = cc[1]
|
c2 = cc[1]
|
||||||
pocket_cards = Cards(c1, c2)
|
pocket_cards = Cards(c1, c2)
|
||||||
self.hand = pocket_cards
|
self.hand = pocket_cards
|
||||||
return pocket_cards
|
|
||||||
|
|
||||||
def set_villain_range_string(self, string):
|
def set_villain_range_string(self, string):
|
||||||
# Villain's range
|
# Villain's range
|
||||||
|
@ -222,9 +220,6 @@ def expand_hands(abbrev, hand, board):
|
||||||
return range
|
return range
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def parse_args(args, container):
|
def parse_args(args, container):
|
||||||
# args[0] is the path being executed; need 3 more args
|
# args[0] is the path being executed; need 3 more args
|
||||||
if len(args) < 4:
|
if len(args) < 4:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user