Browse Source

some fixes

master
Mikhail Grebenkin 4 years ago
parent
commit
735f397480
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      importer.py

+ 2
- 4
importer.py View File

@ -60,7 +60,7 @@ def main():
print err
exit(0)
z_users = z_reader.users_make_zayavka(res)
# print len(z_users)
print len(z_users)
i = 0
for z_user in z_users:
print z_user, z_users[z_user]['memberOf']
@ -85,9 +85,7 @@ def main():
ad_user.disable()
for group in z_users[z_user]['memberOf']:
ad_user.add_in_group(group)
if i > 10:
break
i += 1
break
if __name__ == '__main__':


Loading…
Cancel
Save

Powered by TurnKey Linux.