== None to is None (PEP 8, Style Guide for Python Code)
This commit is contained in:
parent
4374b6c810
commit
8b19750b1f
|
@ -201,7 +201,7 @@ class Database:
|
||||||
|
|
||||||
|
|
||||||
# where possible avoid creating new SQL instance by using the global one passed in
|
# 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'])
|
self.sql = SQL.Sql(type = self.type, db_server = db_params['db-server'])
|
||||||
else:
|
else:
|
||||||
self.sql = sql
|
self.sql = sql
|
||||||
|
|
Loading…
Reference in New Issue
Block a user