Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tev
plugin_event
Commits
080eb26c
Commit
080eb26c
authored
Jan 13, 2016
by
LE GAC Renaud
Browse files
Fix a bug in the script check_people_author_moa.py
parent
e85b7966
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
scripts/check_people_author_moa.py
scripts/check_people_author_moa.py
+3
-3
No files found.
scripts/check_people_author_moa.py
View file @
080eb26c
...
...
@@ -126,7 +126,7 @@ def check_events(id_project,
if
nrows
==
0
:
print
last_name
,
start_date
,
end_date
,
'→ no %s event'
%
event
if
len
(
team_ids
)
!=
0
:
if
len
(
team_ids
)
!=
1
:
print
"Team change during the period."
print
"Have a look and fix it by hand.
\n
"
continue
...
...
@@ -134,8 +134,8 @@ def check_events(id_project,
data
=
dict
(
id_events
=
id_evt_event
,
id_people
=
id_people
,
id_projects
=
id_project
,
id_teams
=
team_ids
[
0
],
start_date
=
exp_
end
,
id_teams
=
list
(
team_ids
)
[
0
],
start_date
=
exp_
start
,
end_date
=
exp_end
)
fix_event
(
**
data
)
...
...
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