diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-02-02 15:57:45 (GMT) |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-02-02 15:57:45 (GMT) |
| commit | 8d3f130d41d0c3f437f37a18c624955ce8bf65d3 (patch) | |
| tree | 84d89632ffbc9d3195d4cb43f5d99e782530e6db /Lib/bsddb/test/test_dbtables.py | |
| parent | 0ac4d4c82df9c2d629dee9cd388e84b7f08d25fe (diff) | |
| download | cpython-8d3f130d41d0c3f437f37a18c624955ce8bf65d3.zip cpython-8d3f130d41d0c3f437f37a18c624955ce8bf65d3.tar.gz cpython-8d3f130d41d0c3f437f37a18c624955ce8bf65d3.tar.bz2 | |
Fix idioms and a couple of py3k warnings. Patch by Florent Xicluna.
Diffstat (limited to 'Lib/bsddb/test/test_dbtables.py')
| -rw-r--r-- | Lib/bsddb/test/test_dbtables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/bsddb/test/test_dbtables.py b/Lib/bsddb/test/test_dbtables.py index e655100..935c9d5 100644 --- a/Lib/bsddb/test/test_dbtables.py +++ b/Lib/bsddb/test/test_dbtables.py @@ -341,7 +341,7 @@ class TableDBTestCase(unittest.TestCase): self.tdb.Insert(tabname, {'Type': 'Unknown', 'Access': '0'}) def set_type(type): - if type == None: + if type is None: return 'MP3' return type |
