Mercurial > moin > 1.9
changeset 6043:1306560f158e
remove print statements from user attr caching code
fixes some UnicodeCode crashes, e.g. in "forgot password" functionality, maybe also elsewhere
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Mon, 28 Apr 2014 21:55:23 +0200 |
parents | ca4a1bfdf2db |
children | c30de53bd126 |
files | MoinMoin/user.py |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/user.py Sat Mar 01 19:07:03 2014 +0100 +++ b/MoinMoin/user.py Mon Apr 28 21:55:23 2014 +0200 @@ -1038,7 +1038,6 @@ attr2id = cache[attrname] for key, value in attr2id.items(): if value == userid: - print "deleting old cached attr %s -> %s" % (key, value) del attr2id[key] # then, if user is valid, update with the current attr values: @@ -1048,7 +1047,6 @@ value = getattr(self, attrname) if value: # we do not store empty values, likely not unique - print "setting new cached attr %s -> %r" % (attrname, value) attr2id = cache[attrname] if isinstance(value, list): for val in value: