From 8b19750b1f043475dabfe57df035dc3bb121109c Mon Sep 17 00:00:00 2001 From: Eric Blade Date: Tue, 15 Sep 2009 19:27:25 -0500 Subject: [PATCH] == None to is None (PEP 8, Style Guide for Python Code) --- pyfpdb/Database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index de71da0c..011da193 100755 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -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