Bug 1393657 - Clean up imports in profileserver.py; r?glandium draft
authorGregory Szorc <gps@mozilla.com>
Thu, 24 Aug 2017 18:25:42 -0700
changeset 652629 8b6a70c2aec19aa450578234ac3747a459f9d640
parent 652622 2306e153fba9ca55726ffcce889eaca7a479c29f
child 652630 c6641e054a48b44cc0db77cc2207e5d92720395c
push id76102
push usergszorc@mozilla.com
push dateFri, 25 Aug 2017 01:57:05 +0000
reviewersglandium
bugs1393657
milestone57.0a1
Bug 1393657 - Clean up imports in profileserver.py; r?glandium Remove unused imports. Put stdlib imports first. And sort. MozReview-Commit-ID: 9CAlCe2vA9z
build/pgo/profileserver.py
--- a/build/pgo/profileserver.py
+++ b/build/pgo/profileserver.py
@@ -1,28 +1,25 @@
 #!/usr/bin/python
 #
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+import json
+import os
+import shutil
+import tempfile
+
+from buildconfig import substs
+from mozbuild.base import MozbuildObject
+from mozhttpd import MozHttpd
 from mozprofile import FirefoxProfile, Profile, Preferences
 from mozprofile.permissions import ServerLocations
 from mozrunner import FirefoxRunner, CLI
-from mozhttpd import MozHttpd
-import json
-import socket
-import threading
-import os
-import sys
-import shutil
-import tempfile
-from datetime import datetime
-from mozbuild.base import MozbuildObject
-from buildconfig import substs
 
 PORT = 8888
 
 if __name__ == '__main__':
   cli = CLI()
   debug_args, interactive = cli.debugger_arguments()
 
   build = MozbuildObject.from_environment()