Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roque
wendelin
Commits
82d16f21
Commit
82d16f21
authored
Apr 12, 2023
by
Martin Manchev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed ' erp5_wendelin_examples ' ...
parent
f7d2280c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
bt5/erp5_wendelin_examples/ExtensionTemplateItem/portal_components/extension.erp5.WendelinExamples.py
...Item/portal_components/extension.erp5.WendelinExamples.py
+3
-3
bt5/erp5_wendelin_examples/ExtensionTemplateItem/portal_components/extension.erp5.WendelinExamples.xml
...tem/portal_components/extension.erp5.WendelinExamples.xml
+1
-5
No files found.
bt5/erp5_wendelin_examples/ExtensionTemplateItem/portal_components/extension.erp5.WendelinExamples.py
View file @
82d16f21
...
...
@@ -11,7 +11,7 @@ import string
def
getRandomString
():
return
'test_%s'
%
''
.
join
([
random
.
choice
(
string
.
ascii_letters
+
string
.
digits
)
\
for
n
in
xrange
(
32
)])
for
_
in
xrange
(
32
)])
# Game of Life examples
default_input_ndarray
=
np
.
array
([[
0
,
0
,
0
,
0
,
0
,
0
],
...
...
@@ -55,7 +55,7 @@ def game_of_life_out_of_core(self):
transaction
.
commit
()
print_list
.
append
(
str
(
life_area
))
for
i
in
range
(
4
):
for
_
in
range
(
4
):
iterate_2
(
life_area
)
print_list
.
append
(
str
(
life_area
))
...
...
@@ -117,7 +117,7 @@ def game_of_life(self):
Z
=
default_input_ndarray
print_list
.
append
(
str
(
Z
))
for
i
in
range
(
4
):
for
_
in
range
(
4
):
iterate_2
(
Z
)
print_list
.
append
(
str
(
Z
))
...
...
bt5/erp5_wendelin_examples/ExtensionTemplateItem/portal_components/extension.erp5.WendelinExamples.xml
View file @
82d16f21
...
...
@@ -39,11 +39,7 @@
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<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>
<tuple/>
</value>
</item>
<item>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment