diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2019-04-16 14:33:43 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2019-04-16 14:33:43 -0400 |
commit | 286c0312647aae2261885da3c350f2cf24ea717d (patch) | |
tree | d2c026d07af31d046f276dac29cc9f468a6fa4b9 /buildscripts/clang_format.py | |
parent | f87a44a7433199caf1f8e7b7b16238ed87f3f60a (diff) | |
download | mongo-286c0312647aae2261885da3c350f2cf24ea717d.tar.gz |
SERVER-40559 Python linters do not run after upgrade to Python 3
Diffstat (limited to 'buildscripts/clang_format.py')
-rwxr-xr-x | buildscripts/clang_format.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/buildscripts/clang_format.py b/buildscripts/clang_format.py index 59183d8df2b..4fe639b3c10 100755 --- a/buildscripts/clang_format.py +++ b/buildscripts/clang_format.py @@ -8,7 +8,6 @@ 5. Supports validating and updating a set of files to the right coding style. """ - import difflib import glob import os @@ -20,7 +19,10 @@ import sys import tarfile import tempfile import threading -import urllib.request, urllib.error, urllib.parse +import urllib.error +import urllib.parse +import urllib.request + from distutils import spawn # pylint: disable=no-name-in-module from optparse import OptionParser from multiprocessing import cpu_count |