Replace "== None" and "!= None" with "is None" and "is not None", respectively

svn: r12098
This commit is contained in:
Gerald Britton
2009-02-23 19:11:46 +00:00
parent 36fcdac888
commit 2671a8cd50
11 changed files with 34 additions and 34 deletions

View File

@ -85,7 +85,7 @@ class GrampsDbBaseTest(unittest.TestCase):
tran = self._db.transaction_begin()
source = RelLib.Source()
if repos != None:
if repos is not None:
repo_ref = RelLib.RepoRef()
repo_ref.set_reference_handle(repos.get_handle())
source.add_repo_reference(repo_ref)