Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Лошкарев Сергей Алексеевич
PS page generation
Commits
3444d293
Commit
3444d293
authored
3 years ago
by
Лошкарев Сергей Алексеевич
Browse files
Options
Download
Patches
Plain Diff
add write_page to loop
parent
f4605cf5
master
1.0
1 merge request
!3
Many hard work
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main.py
+5
-2
main.py
with
5 additions
and
2 deletions
+5
-2
main.py
+
5
−
2
View file @
3444d293
...
...
@@ -9,5 +9,8 @@ persons = get_users_from_taiga(
)
writer
=
PageWriter
(
wiki
)
for
person
in
persons
[:
1
]:
writer
.
write_person_page
(
person
)
\ No newline at end of file
for
person
in
persons
:
is_succes
,
message
=
writer
.
write_person_page
(
person
)
if
not
is_succes
:
print
(
f
'Page not created for:
{
person
.
username
}
, message:
{
message
}
'
)
print
(
'Pages created'
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets