diff options
| author | Daniel Ingram <[email protected]> | 2018-12-09 15:55:13 -0500 |
|---|---|---|
| committer | Daniel Ingram <[email protected]> | 2018-12-09 15:55:13 -0500 |
| commit | 1b89074ae27ce123adbeed57343deaef13c14f81 (patch) | |
| tree | fb4f24ce7b087e01ba72a7e54eae216f75dbe0f6 /contrib/devtools/clang-format-diff.py | |
| parent | Handle exception as ImportError (diff) | |
| download | discoin-1b89074ae27ce123adbeed57343deaef13c14f81.tar.xz discoin-1b89074ae27ce123adbeed57343deaef13c14f81.zip | |
Change '== None' to 'is None'
Diffstat (limited to 'contrib/devtools/clang-format-diff.py')
| -rwxr-xr-x | contrib/devtools/clang-format-diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/devtools/clang-format-diff.py b/contrib/devtools/clang-format-diff.py index 77e845a9b..f322b3a88 100755 --- a/contrib/devtools/clang-format-diff.py +++ b/contrib/devtools/clang-format-diff.py @@ -109,7 +109,7 @@ def main(): match = re.search('^\+\+\+\ (.*?/){%s}(\S*)' % args.p, line) if match: filename = match.group(2) - if filename == None: + if filename is None: continue if args.regex is not None: |