== None to is None (PEP 8, Style Guide for Python Code)

This commit is contained in:
Eric Blade 2009-09-15 19:27:25 -05:00
parent 4374b6c810
commit 8b19750b1f

View File

@ -201,7 +201,7 @@ class Database:
# where possible avoid creating new SQL instance by using the global one passed in
if sql == None:
if sql is None:
self.sql = SQL.Sql(type = self.type, db_server = db_params['db-server'])
else:
self.sql = sql