TP3 placer Mauvaise indentation return

This commit is contained in:
Geoffrey Frogeye 2015-02-13 19:37:39 +01:00
parent 28e5353f37
commit 2e3350dec0

View file

@ -254,7 +254,7 @@ def placer(esp, nav):
if est_placable(esp, nav, pos, disp): if est_placable(esp, nav, pos, disp):
for c in cases_du_navire(nav, pos, disp): for c in cases_du_navire(nav, pos, disp):
esp[c] = nav[0] esp[c] = nav[0]
return return
# Test # Test
# espTest2 = {'larg': 4, 'haut': 3} # espTest2 = {'larg': 4, 'haut': 3}