Changeset 834a55 in indico
- Timestamp:
- 06/17/11 14:54:12 (2 years ago)
- Branches:
- master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
- Children:
- c3e1091
- Parents:
- 18d500
- File:
-
- 1 edited
-
bin/utils/removePasswords.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bin/utils/removePasswords.py
r18d500 r834a55 13 13 sys.exit(0) 14 14 15 DBMgr.getInstance().startRequest() 15 i = 0 16 17 dbi = DBMgr.getInstance() 18 dbi.startRequest() 16 19 17 20 ah = AvatarHolder() 18 21 am = AuthenticatorMgr() 19 for a vatar in ah.getValuesToList():22 for aid, avatar in ah._getIdx().iteritems(): 20 23 for identity in avatar.getIdentityList(): 21 24 if isinstance(identity, LocalIdentity): … … 25 28 am.removeIdentity(identity) 26 29 avatar.removeIdentity(identity) 27 30 if i % 100 == 99: 31 dbi.commit() 32 i += 1 28 33 DBMgr.getInstance().endRequest()
Note: See TracChangeset
for help on using the changeset viewer.
