Commits

Marcin Kuzminski  committed 534b9c0

Proper patch for issue #276

  • Participants
  • Parent commits 2c08b69

Comments (0)

Files changed (1)

File rhodecode/model/db.py

                     Session.flush()
                     members_list = []
                     if v:
-                        for u_id in set(list(v)):
+                        v = [v] if isinstance(v, basestring) else v
+                        for u_id in set(v):
                             member = UsersGroupMember(users_group_id,u_id)
                             members_list.append(member)
                     setattr(users_group, 'members', members_list)