Bug 1356652 - Clean up imports in profileserver.py; r?glandium
Remove unused imports. Put stdlib imports first. And sort.
MozReview-Commit-ID: 9CAlCe2vA9z
--- 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()