summaryrefslogtreecommitdiff
path: root/buildscripts/clang_format.py
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2019-04-16 14:33:43 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2019-04-16 14:33:43 -0400
commit286c0312647aae2261885da3c350f2cf24ea717d (patch)
treed2c026d07af31d046f276dac29cc9f468a6fa4b9 /buildscripts/clang_format.py
parentf87a44a7433199caf1f8e7b7b16238ed87f3f60a (diff)
downloadmongo-286c0312647aae2261885da3c350f2cf24ea717d.tar.gz
SERVER-40559 Python linters do not run after upgrade to Python 3
Diffstat (limited to 'buildscripts/clang_format.py')
-rwxr-xr-xbuildscripts/clang_format.py6
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