Mercurial > hg > graal-compiler
diff mx.graal/mx_graal_makefile.py @ 22137:0aadb6b01fcd
use 'is' instead of '==' when comparing against None
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 02 Jul 2015 12:41:08 +0200 |
parents | 4ce725f06a27 |
children | 751a0882cb7e |
line wrap: on
line diff
--- a/mx.graal/mx_graal_makefile.py Wed Jul 01 13:41:40 2015 -0700 +++ b/mx.graal/mx_graal_makefile.py Thu Jul 02 12:41:08 2015 +0200 @@ -292,7 +292,7 @@ for p in projects: deps = p.all_deps([], False, includeSelf=True, includeJreLibs=False, includeAnnotationProcessors=True) for d in deps: - if d.definedAnnotationProcessorsDist != None: + if d.definedAnnotationProcessorsDist is not None: apd = d.definedAnnotationProcessorsDist update_list(ap, [apd])