You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Dont use equality operators with None singleton in python files
This commit is contained in:
@@ -330,7 +330,7 @@ def split_lib(self, libname, src_list = None, env_lib = None):
|
||||
list = []
|
||||
lib_list = []
|
||||
|
||||
if src_list == None:
|
||||
if src_list is None:
|
||||
src_list = getattr(env, libname + "_sources")
|
||||
|
||||
if type(env_lib) == type(None):
|
||||
|
||||
Reference in New Issue
Block a user