[pypy-svn] r43282 - pypy/dist/pypy/doc/tool
hpk at codespeak.net
hpk at codespeak.net
Sat May 12 13:41:59 CEST 2007
Author: hpk
Date: Sat May 12 13:41:59 2007
New Revision: 43282
Modified:
pypy/dist/pypy/doc/tool/makecontributor.py
Log:
be more tolerant about unknown realnames
Modified: pypy/dist/pypy/doc/tool/makecontributor.py
==============================================================================
--- pypy/dist/pypy/doc/tool/makecontributor.py (original)
+++ pypy/dist/pypy/doc/tool/makecontributor.py Sat May 12 13:41:59 2007
@@ -31,7 +31,10 @@
mark = False
for author, count in items:
user = uconf.system.User(author)
- realname = user.realname.strip()
+ try:
+ realname = user.realname.strip()
+ except KeyError:
+ realname = author
if not mark and count < cutoff:
mark = True
print '-'*60
More information about the Pypy-commit
mailing list