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
f079811f
Commit
f079811f
authored
3 years ago
by
Лошкарев Сергей Алексеевич
Browse files
Options
Download
Patches
Plain Diff
adapt main to new config.py
parent
1b5fd520
master
1.0
1 merge request
!2
Edit config format
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main.py
+4
-4
main.py
with
4 additions
and
4 deletions
+4
-4
main.py
+
4
−
4
View file @
f079811f
from
config
import
read_config
from
get_from_tagia
import
get_users_from_taiga
config
=
read_config
(
'config.ini'
)
taiga
,
wiki
=
read_config
(
'config.ini'
)
persons
=
get_users_from_taiga
(
config
[
'
taiga
'
]
[
'host'
],
config
[
'
taiga
'
]
[
'username'
],
config
[
'
taiga
'
]
[
'password'
],
config
[
'
taiga
'
]
[
'project_slug'
]
taiga
[
'host'
],
taiga
[
'username'
],
taiga
[
'password'
],
taiga
[
'project_slug'
]
)
for
person
in
persons
[:
5
]:
for
person
in
persons
[:
1
]:
print
(
person
.
__dict__
)
\ 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