Commit 82d16f21 authored by Martin Manchev's avatar Martin Manchev

Fixed ' erp5_wendelin_examples ' ...

parent f7d2280c
...@@ -11,7 +11,7 @@ import string ...@@ -11,7 +11,7 @@ import string
def getRandomString(): def getRandomString():
return 'test_%s' %''.join([random.choice(string.ascii_letters + string.digits) \ return 'test_%s' %''.join([random.choice(string.ascii_letters + string.digits) \
for n in xrange(32)]) for _ in xrange(32)])
# Game of Life examples # Game of Life examples
default_input_ndarray = np.array([[0,0,0,0,0,0], default_input_ndarray = np.array([[0,0,0,0,0,0],
...@@ -55,7 +55,7 @@ def game_of_life_out_of_core(self): ...@@ -55,7 +55,7 @@ def game_of_life_out_of_core(self):
transaction.commit() transaction.commit()
print_list.append(str(life_area)) print_list.append(str(life_area))
for i in range(4): for _ in range(4):
iterate_2(life_area) iterate_2(life_area)
print_list.append(str(life_area)) print_list.append(str(life_area))
...@@ -117,7 +117,7 @@ def game_of_life(self): ...@@ -117,7 +117,7 @@ def game_of_life(self):
Z = default_input_ndarray Z = default_input_ndarray
print_list.append(str(Z)) print_list.append(str(Z))
for i in range(4): for _ in range(4):
iterate_2(Z) iterate_2(Z)
print_list.append(str(Z)) print_list.append(str(Z))
......
...@@ -39,11 +39,7 @@ ...@@ -39,11 +39,7 @@
<item> <item>
<key> <string>text_content_warning_message</string> </key> <key> <string>text_content_warning_message</string> </key>
<value> <value>
<tuple> <tuple/>
<string>W: 14, 8: Unused variable \'n\' (unused-variable)</string>
<string>W: 58, 6: Unused variable \'i\' (unused-variable)</string>
<string>W:120, 6: Unused variable \'i\' (unused-variable)</string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment