commit:     5972da09a9d9faaa7dbf45929a6c09a0d07d0691
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 11 01:22:04 2016 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Nov 11 01:22:04 2016 +0000
URL:        https://gitweb.gentoo.org/proj/grumpy.git/commit/?id=5972da09

Add parsed project members to the result dict

 backend/lib/sync.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/backend/lib/sync.py b/backend/lib/sync.py
index 291d701..fbc653a 100644
--- a/backend/lib/sync.py
+++ b/backend/lib/sync.py
@@ -38,6 +38,9 @@ def sync_projects():
                         member[member_tag] = member_elem.text
                 if 'email' in member:
                     # TODO: Sync the members (it's valid as email is given) - 
maybe at the end, after we have synced the project data, so we can add him to 
the project directly
+                    if 'members' not in proj:
+                        proj['members'] = []
+                    proj['members'].append(member)
                     pass
             elif tag == 'subproject':
                 if 'ref' in elem.attrib:

Reply via email to