Skip to content

Commit abef3fa

Browse files
committed
Fix & organize imports
1 parent 2480ef0 commit abef3fa

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

splash/benchmark/benchmark.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from multiprocessing.pool import ThreadPool
1616

1717
import requests
18-
from splash.file_server import serve_files
18+
from splash.benchmark.file_server import serve_files
1919
from splash.tests.utils import SplashServer
2020

2121
PORT = 8806

splash/benchmark/download_sites.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
from splash.tests.stress import lua_runonce
2-
1+
import json
32
import re
3+
import subprocess
44
from urlparse import urlsplit
5-
import json
5+
66
from lxml import html
7+
78
import w3lib.html
8-
import subprocess
9-
from splash.file_server import serve_files
9+
from splash.benchmark.file_server import serve_files
10+
from splash.tests.stress import lua_runonce
1011

1112
script_html = """
1213
function main(splash)

0 commit comments

Comments
 (0)