commit | 63b0cb2f39e26be7f6b636ddd40cc8d6a1400d51 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Wed Oct 14 18:01:33 2009 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Wed Oct 14 18:01:33 2009 +0000 |
tree | f8dbf0e74850161b7bcb707a42fbcff8b8f0c61d | |
parent | 868817eaf5a7ed4b92c486eb9dadd568b13e629c [diff] [blame] |
Fix py3k warnings in bsddb
diff --git a/Lib/bsddb/dbutils.py b/Lib/bsddb/dbutils.py index 8d2e7ef..02a686f 100644 --- a/Lib/bsddb/dbutils.py +++ b/Lib/bsddb/dbutils.py
@@ -61,7 +61,7 @@ """ sleeptime = _deadlock_MinSleepTime max_retries = _kwargs.get('max_retries', -1) - if _kwargs.has_key('max_retries'): + if 'max_retries' in _kwargs: del _kwargs['max_retries'] while True: try: