Skip to content

Commit 6e5a845

Browse files
committed
removing reference to simplejson, only used to support older than 2.6 python (which we don't support)
1 parent 51b6bde commit 6e5a845

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

py/selenium/webdriver/remote/utils.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,12 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16+
import json
1617
import logging
1718
import os
1819
import tempfile
1920
import zipfile
2021

21-
try:
22-
import json
23-
except ImportError: # < 2.6
24-
import simplejson as json
25-
26-
if not hasattr(json, 'dumps'):
27-
import simplejson as json
28-
2922
from selenium.common.exceptions import NoSuchElementException
3023

3124
LOGGER = logging.getLogger(__name__)

0 commit comments

Comments
 (0)